Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'helix-syntax/src/lib.rs')
-rw-r--r--helix-syntax/src/lib.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/helix-syntax/src/lib.rs b/helix-syntax/src/lib.rs
index 04a2d27d..915d8df5 100644
--- a/helix-syntax/src/lib.rs
+++ b/helix-syntax/src/lib.rs
@@ -1,5 +1,5 @@
use ::ropey::RopeSlice;
-use slotmap::{DefaultKey as LayerId, HopSlotMap};
+use slotmap::{new_key_type, HopSlotMap};
use tree_sitter::{Node, Parser, Point, Query, QueryCursor, Range, Tree};
use std::borrow::Cow;
@@ -9,6 +9,7 @@ use std::path::Path;
use std::str;
use std::sync::Arc;
+use crate::injections_tree::LayerId;
use crate::parse::LayerUpdateFlags;
pub use crate::config::{read_query, HighlightConfiguration};
@@ -19,6 +20,7 @@ pub use tree_cursor::TreeCursor;
mod config;
pub mod highlighter;
+mod injections_tree;
mod merge;
mod parse;
mod pretty_print;