mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-20 20:30:05 -04:00
refactor(queries): Remove quotes from properties in set! directive
This commit is contained in:
parent
88aa09e6e9
commit
51bba660a8
45 changed files with 95 additions and 95 deletions
|
|
@ -4,7 +4,7 @@
|
|||
; =============================================================================
|
||||
; catch all rules
|
||||
((identifier) @variable
|
||||
(#set! "priority" 99))
|
||||
(#set! priority 99))
|
||||
|
||||
; NOTE: we need priority, since (identifier) is most specific and we have to
|
||||
; capture nodes containing (identifier) as a whole, while overruling the
|
||||
|
|
@ -12,7 +12,7 @@
|
|||
(type_expression) @type
|
||||
|
||||
; NOTE: has to be after
|
||||
; ((identifier) @variable (#set! "priority" 99))
|
||||
; ((identifier) @variable (#set! priority 99))
|
||||
; overrule identifiers in pragmas in (proc_type)s and (pragma_expression)s
|
||||
(proc_type
|
||||
pragmas: (pragma_list) @variable)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue