mirror of
https://github.com/chenasraf/nvim-treesitter.git
synced 2026-05-18 01:39:00 +00:00
chore(highlights): remove is predicate usage
This commit is contained in:
committed by
Stephan Seitz
parent
b796f0725d
commit
cab8717959
@@ -22,17 +22,11 @@
|
||||
(#match? @constructor "^[A-Z]"))
|
||||
|
||||
((identifier) @variable.builtin
|
||||
(#not-is? @variable.builtin import var parameter)
|
||||
(#vim-match? @variable.builtin "^(arguments|module|console|window|document)$"))
|
||||
|
||||
((identifier) @function.builtin
|
||||
(#not-is? @function.builtin import var parameter)
|
||||
(#eq? @function.builtin "require"))
|
||||
|
||||
((identifier) @parameter.reference
|
||||
(#is? @parameter.reference parameter))
|
||||
|
||||
|
||||
; Function and method definitions
|
||||
;--------------------------------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user