mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-05 04:50:03 -04:00
lint(locals): use #set! to keep query linter happy
This commit is contained in:
parent
c9d5812ba3
commit
e58bbe83f9
7 changed files with 35 additions and 35 deletions
|
|
@ -47,7 +47,7 @@
|
|||
body: (_) @scope)
|
||||
|
||||
((namespace_identifier) @reference
|
||||
(set! reference.kind "namespace"))
|
||||
(#set! reference.kind "namespace"))
|
||||
|
||||
;; Function definitions
|
||||
(template_function
|
||||
|
|
@ -61,8 +61,8 @@
|
|||
name: (identifier) @definition.function)) @scope
|
||||
|
||||
(field_declaration
|
||||
declarator: (function_declarator
|
||||
(field_identifier) @definition.method))
|
||||
declarator: (function_declarator
|
||||
(field_identifier) @definition.method))
|
||||
|
||||
(lambda_expression) @scope
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue