diff --git a/Cargo.lock b/Cargo.lock
index 74e58ad88..d7a90210c 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1547,6 +1547,7 @@ dependencies = [
"chrono",
"content_inspector",
"crossterm",
+ "dashmap",
"fern",
"futures-util",
"grep-regex",
diff --git a/helix-core/src/syntax.rs b/helix-core/src/syntax.rs
index 8fa185c6f..ca57b72e7 100644
--- a/helix-core/src/syntax.rs
+++ b/helix-core/src/syntax.rs
@@ -20,7 +20,10 @@ use ropey::RopeSlice;
use tree_house::{
highlighter,
query_iter::QueryIter,
- tree_sitter::{Grammar, InactiveQueryCursor, InputEdit, Node, Query, RopeInput, Tree},
+ tree_sitter::{
+ query::{InvalidPredicateError, UserPredicate},
+ Grammar, InactiveQueryCursor, InputEdit, Node, Query, RopeInput, Tree,
+ },
Error, InjectionLanguageMarker, LanguageConfig as SyntaxConfig, Layer,
};
@@ -28,6 +31,7 @@ use crate::{indent::IndentQuery, tree_sitter, ChangeSet, Language};
pub use tree_house::{
highlighter::{Highlight, HighlightEvent},
+ query_iter::QueryIterEvent,
Error as HighlighterError, LanguageLoader, TreeCursor, TREE_SITTER_MATCH_LIMIT,
};
@@ -37,6 +41,7 @@ pub struct LanguageData {
syntax: OnceCell