mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-07 22:10:01 -04:00
Update queries
- Don't use the old form for predicates - Update some invalid queries
This commit is contained in:
parent
6c5f4b1b49
commit
56634f49ab
7 changed files with 19 additions and 19 deletions
|
|
@ -66,7 +66,7 @@
|
|||
|
||||
((scoped_identifier
|
||||
(identifier) @definition.import)
|
||||
(has-ancestor? @definition.import import_declaration))
|
||||
(#has-ancestor? @definition.import import_declaration))
|
||||
|
||||
(field_declaration
|
||||
declarator: (variable_declarator
|
||||
|
|
@ -74,5 +74,4 @@
|
|||
|
||||
; REFERENCES
|
||||
(identifier) @reference
|
||||
((type_identifier) @reference
|
||||
(set! reference.kind "type"))
|
||||
(type_identifier) @reference
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue