diff options
| author | Stephan Seitz <stephan.seitz@fau.de> | 2021-02-19 20:09:00 +0100 |
|---|---|---|
| committer | Stephan Seitz <stephan.lauf@yahoo.de> | 2021-02-19 23:41:42 +0100 |
| commit | 5033d3668acb621c70c0fa73f2a5ef835fd1a4f6 (patch) | |
| tree | f0b8c936820f90d9890a346dc61f7d9ec912c97c /queries/java | |
| parent | [docgen] Update README.md (diff) | |
| download | nvim-treesitter-5033d3668acb621c70c0fa73f2a5ef835fd1a4f6.tar nvim-treesitter-5033d3668acb621c70c0fa73f2a5ef835fd1a4f6.tar.gz nvim-treesitter-5033d3668acb621c70c0fa73f2a5ef835fd1a4f6.tar.bz2 nvim-treesitter-5033d3668acb621c70c0fa73f2a5ef835fd1a4f6.tar.lz nvim-treesitter-5033d3668acb621c70c0fa73f2a5ef835fd1a4f6.tar.xz nvim-treesitter-5033d3668acb621c70c0fa73f2a5ef835fd1a4f6.tar.zst nvim-treesitter-5033d3668acb621c70c0fa73f2a5ef835fd1a4f6.zip | |
highlights(java): fix constant highlighting (only UPPERCASE_LETTERS)
Diffstat (limited to 'queries/java')
| -rw-r--r-- | queries/java/highlights.scm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/queries/java/highlights.scm b/queries/java/highlights.scm index 6de64cae4..728610096 100644 --- a/queries/java/highlights.scm +++ b/queries/java/highlights.scm @@ -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 |
