mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-18 11:20:07 -04:00
highlights(java): fix constant highlighting (only UPPERCASE_LETTERS)
This commit is contained in:
parent
55cb17d5c4
commit
5033d3668a
1 changed files with 1 additions and 1 deletions
|
|
@ -105,7 +105,7 @@
|
||||||
; Variables
|
; Variables
|
||||||
|
|
||||||
((identifier) @constant
|
((identifier) @constant
|
||||||
(#vim-match? @constant "^_*[A-Z][A-Z\d_]+"))
|
(#vim-match? @constant "^[A-Z_][A-Z\d_]+$"))
|
||||||
|
|
||||||
(this) @variable.builtin
|
(this) @variable.builtin
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue