Drop 'override.' prefix from capture names in override query

Co-authored-by: Julia Risley <julia@zed.dev>
This commit is contained in:
Max Brunsfeld
2023-01-20 10:44:33 -08:00
co-authored by Julia Risley
parent 2aa7a9e95b
commit 8dcef46842
17 changed files with 35 additions and 36 deletions
+2 -2
View File
@@ -1421,8 +1421,8 @@ fn test_language_config_at(cx: &mut MutableAppContext) {
)
.with_override_query(
r#"
(jsx_element) @override.element
(string) @override.string
(jsx_element) @element
(string) @string
"#,
)
.unwrap();