aboutsummaryrefslogtreecommitdiff
path: root/helix-core/src/syntax.rs
diff options
context:
space:
mode:
Diffstat (limited to 'helix-core/src/syntax.rs')
-rw-r--r--helix-core/src/syntax.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/helix-core/src/syntax.rs b/helix-core/src/syntax.rs
index 3e5927e5..290f2652 100644
--- a/helix-core/src/syntax.rs
+++ b/helix-core/src/syntax.rs
@@ -146,7 +146,7 @@ pub struct Syntax {
config: Arc<HighlightConfiguration>,
- root_layer: LanguageLayer,
+ pub(crate) root_layer: LanguageLayer,
}
impl Syntax {
@@ -309,7 +309,7 @@ pub struct LanguageLayer {
// mode
// grammar
// depth
- tree: Option<Tree>,
+ pub(crate) tree: Option<Tree>,
}
use crate::state::coords_at_pos;