Implement bracket matching using queries

Co-Authored-By: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
Max Brunsfeld
2021-05-28 13:09:57 -07:00
co-authored by Nathan Sobo
parent e9bd872b06
commit 8b7a314474
8 changed files with 50 additions and 43 deletions
+1
View File
@@ -535,6 +535,7 @@ mod tests {
},
grammar: grammar.clone(),
highlight_query,
brackets_query: tree_sitter::Query::new(grammar, "").unwrap(),
theme_mapping: Default::default(),
});
lang.set_theme(&theme);