Introduce a new Grammar
struct and allow it to be optional
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
parent
b9edde7b26
commit
2c17ae9aa6
11 changed files with 91 additions and 67 deletions
|
@ -778,7 +778,7 @@ mod tests {
|
|||
path_suffixes: vec![".test".to_string()],
|
||||
..Default::default()
|
||||
},
|
||||
tree_sitter_rust::language(),
|
||||
Some(tree_sitter_rust::language()),
|
||||
)
|
||||
.with_highlights_query(
|
||||
r#"
|
||||
|
@ -865,7 +865,7 @@ mod tests {
|
|||
path_suffixes: vec![".test".to_string()],
|
||||
..Default::default()
|
||||
},
|
||||
tree_sitter_rust::language(),
|
||||
Some(tree_sitter_rust::language()),
|
||||
)
|
||||
.with_highlights_query(
|
||||
r#"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue