We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e61bbb8 commit f2156cbCopy full SHA for f2156cb
helix-core/src/syntax.rs
@@ -1095,7 +1095,7 @@ thread_local! {
1095
})
1096
}
1097
1098
-#[derive(Debug, Clone)]
+#[derive(Debug)]
1099
pub struct Syntax {
1100
pub layers: HopSlotMap<LayerId, LanguageLayer>,
1101
root: LayerId,
@@ -1562,15 +1562,15 @@ impl Syntax {
1562
bitflags! {
1563
/// Flags that track the status of a layer
1564
/// in the `Sytaxn::update` function
1565
- #[derive(Debug, Clone)]
+ #[derive(Debug)]
1566
struct LayerUpdateFlags : u32{
1567
const MODIFIED = 0b001;
1568
const MOVED = 0b010;
1569
const TOUCHED = 0b100;
1570
1571
1572
1573
1574
pub struct LanguageLayer {
1575
// mode
1576
// grammar
0 commit comments