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
@@ -1,2 +1,2 @@
(comment) @override.comment
(string_literal) @override.string
(comment) @comment
(string_literal) @string
+2 -2
View File
@@ -1,2 +1,2 @@
(comment) @override.comment
(string_literal) @override.string
(comment) @comment
(string_literal) @string
+2 -2
View File
@@ -1,2 +1,2 @@
(comment) @override.comment
(string_value) @override.string
(comment) @comment
(string_value) @string
@@ -1,2 +1,2 @@
(comment) @override.comment
[(string) (charlist)] @override.string
(comment) @comment
[(string) (charlist)] @string
+2 -2
View File
@@ -1,6 +1,6 @@
(comment) @override.comment
(comment) @comment
[
(interpreted_string_literal)
(raw_string_literal)
(rune_literal)
] @override.string
] @string
+2 -2
View File
@@ -1,2 +1,2 @@
(comment) @override.comment
(quoted_attribute_value) @override.string
(comment) @comment
(quoted_attribute_value) @string
@@ -1,9 +1,9 @@
(comment) @override.comment
(string) @override.string
(comment) @comment
(string) @string
[
(jsx_element)
(jsx_fragment)
(jsx_self_closing_element)
(jsx_expression)
] @override.element
] @element
+1 -2
View File
@@ -1,2 +1 @@
(comment) @comment
(string) @override.string
(string) @string
@@ -1,2 +1,2 @@
(comment) @override.comment
(string) @override.string
(comment) @comment
(string) @string
+2 -2
View File
@@ -1,2 +1,2 @@
(comment) @override.comment
(string) @override.string
(comment) @comment
(string) @string
+2 -2
View File
@@ -1,8 +1,8 @@
[
(string_literal)
(raw_string_literal)
] @override.string
] @string
[
(line_comment)
(block_comment)
] @override.comment
] @comment
@@ -2,5 +2,5 @@
(comment)
(block_comment)
(directive)
] @override.comment
(string) @override.string
] @comment
(string) @string
+2 -2
View File
@@ -1,2 +1,2 @@
(comment) @override.comment
(string) @override.string
(comment) @comment
(string) @string
+2 -2
View File
@@ -3,5 +3,5 @@
(jsx_fragment)
(jsx_self_closing_element)
(jsx_expression)
] @override.element
(string) @override.string
] @element
(string) @string
@@ -1,2 +1,2 @@
(comment) @override.comment
(string) @override.string
(comment) @comment
(string) @string