mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-19 03:40:04 -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
|
; Keywords
|
||||||
|
|
||||||
[
|
[
|
||||||
"abstract"
|
|
||||||
"assert"
|
"assert"
|
||||||
"break"
|
"break"
|
||||||
"class"
|
"class"
|
||||||
|
|
@ -169,34 +168,46 @@
|
||||||
"enum"
|
"enum"
|
||||||
"exports"
|
"exports"
|
||||||
"extends"
|
"extends"
|
||||||
"final"
|
|
||||||
"implements"
|
"implements"
|
||||||
"instanceof"
|
"instanceof"
|
||||||
"interface"
|
"interface"
|
||||||
"module"
|
"module"
|
||||||
"native"
|
|
||||||
"open"
|
|
||||||
"opens"
|
"opens"
|
||||||
"package"
|
"package"
|
||||||
"permits"
|
"permits"
|
||||||
"private"
|
|
||||||
"protected"
|
|
||||||
"provides"
|
"provides"
|
||||||
"public"
|
|
||||||
"requires"
|
"requires"
|
||||||
"sealed"
|
|
||||||
"non-sealed"
|
|
||||||
"static"
|
|
||||||
"strictfp"
|
|
||||||
"synchronized"
|
|
||||||
"to"
|
"to"
|
||||||
"transient"
|
|
||||||
"transitive"
|
|
||||||
"uses"
|
"uses"
|
||||||
"volatile"
|
|
||||||
"with"
|
"with"
|
||||||
] @keyword
|
] @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"
|
"return"
|
||||||
"yield"
|
"yield"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue