mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-09 15:00:04 -04:00
feat(highlights): add is predicate
This commit is contained in:
parent
994baf4539
commit
579c9936d6
16 changed files with 102 additions and 39 deletions
|
|
@ -80,6 +80,8 @@
|
|||
; Normal parameters
|
||||
(parameters
|
||||
(identifier) @parameter)
|
||||
((identifier) @parameter.reference
|
||||
(#is? @parameter.reference parameter))
|
||||
; Lambda parameters
|
||||
(lambda_parameters
|
||||
(identifier) @parameter)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue