mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-05 21:10:15 -04:00
highlights(java): use more specific groups
This commit is contained in:
parent
a16499f584
commit
d0b9afe9f6
1 changed files with 26 additions and 15 deletions
|
|
@ -159,7 +159,6 @@
|
|||
; Keywords
|
||||
|
||||
[
|
||||
"abstract"
|
||||
"assert"
|
||||
"break"
|
||||
"class"
|
||||
|
|
@ -169,34 +168,46 @@
|
|||
"enum"
|
||||
"exports"
|
||||
"extends"
|
||||
"final"
|
||||
"implements"
|
||||
"instanceof"
|
||||
"interface"
|
||||
"module"
|
||||
"native"
|
||||
"open"
|
||||
"opens"
|
||||
"package"
|
||||
"permits"
|
||||
"private"
|
||||
"protected"
|
||||
"provides"
|
||||
"public"
|
||||
"requires"
|
||||
"sealed"
|
||||
"non-sealed"
|
||||
"static"
|
||||
"strictfp"
|
||||
"synchronized"
|
||||
"to"
|
||||
"transient"
|
||||
"transitive"
|
||||
"uses"
|
||||
"volatile"
|
||||
"with"
|
||||
] @keyword
|
||||
|
||||
(synchronized_statement
|
||||
"synchronized" @keyword)
|
||||
|
||||
[
|
||||
"abstract"
|
||||
"final"
|
||||
"native"
|
||||
"non-sealed"
|
||||
"open"
|
||||
"private"
|
||||
"protected"
|
||||
"public"
|
||||
"sealed"
|
||||
"static"
|
||||
"strictfp"
|
||||
"transitive"
|
||||
] @type.qualifier
|
||||
|
||||
(modifiers
|
||||
"synchronized" @type.qualifier)
|
||||
|
||||
[
|
||||
"transient"
|
||||
"volatile"
|
||||
] @storageclass
|
||||
|
||||
[
|
||||
"return"
|
||||
"yield"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue