62e3838974
If this comment is not present it will overwrite all existing queries with the content of the respective file. Also move files from queries/go -> after/queries/go to ensure they are loaded after e.g. nvim-treesitter queries.
18 lines
373 B
Scheme
18 lines
373 B
Scheme
;; extends
|
|
(
|
|
(const_spec
|
|
name: (identifier) @_id
|
|
value: (expression_list (raw_string_literal) @sql))
|
|
|
|
(#contains? @_id "Query")
|
|
)
|
|
|
|
((composite_literal
|
|
type: (type_identifier) @_type
|
|
body: (literal_value
|
|
(keyed_element
|
|
(literal_element) @_key
|
|
(literal_element) @lua)))
|
|
(#eq? @_key "overrideScript")
|
|
(#eq? @_type "generatorTestCase"))
|