highlights(java): fix constant highlighting (only UPPERCASE_LETTERS)

This commit is contained in:
Stephan Seitz 2021-02-19 20:09:00 +01:00 committed by Stephan Seitz
parent 55cb17d5c4
commit 5033d3668a

View file

@ -105,7 +105,7 @@
; Variables
((identifier) @constant
(#vim-match? @constant "^_*[A-Z][A-Z\d_]+"))
(#vim-match? @constant "^[A-Z_][A-Z\d_]+$"))
(this) @variable.builtin