Start maintaining a syntax tree on buffers

This commit is contained in:
Max Brunsfeld
2021-05-22 12:34:35 +02:00
committed by Antonio Scandurra
parent 4e74a8726c
commit 46e6b2cff4
6 changed files with 170 additions and 15 deletions
+3 -3
View File
@@ -9,9 +9,9 @@ pub use tree_sitter::{Parser, Tree};
pub struct LanguageDir;
pub struct Language {
name: String,
grammar: Grammar,
highlight_query: Query,
pub name: String,
pub grammar: Grammar,
pub highlight_query: Query,
path_suffixes: Vec<String>,
}