mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
highlights(java): fix '!',param,global group
This commit is contained in:
parent
ee095abeac
commit
a75aded7ae
1 changed files with 5 additions and 2 deletions
|
|
@ -20,7 +20,8 @@
|
|||
name: (identifier) @parameter)
|
||||
|
||||
(spread_parameter
|
||||
(variable_declarator) @parameter) ; int... foo
|
||||
(variable_declarator
|
||||
name: (identifier) @parameter)) ; int... foo
|
||||
|
||||
;; Lambda parameter
|
||||
(inferred_parameters (identifier) @parameter) ; (x,y) -> ...
|
||||
|
|
@ -50,6 +51,7 @@
|
|||
"&&"
|
||||
"|"
|
||||
"||"
|
||||
"!"
|
||||
"!="
|
||||
"=="
|
||||
"*"
|
||||
|
|
@ -109,7 +111,8 @@
|
|||
; Fields
|
||||
|
||||
(field_declaration
|
||||
declarator: (variable_declarator) @field)
|
||||
declarator: (variable_declarator
|
||||
name: (identifier) @field))
|
||||
|
||||
(field_access
|
||||
field: (identifier) @field)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue