diff options
| author | Steven Sojka <steelsojka@gmail.com> | 2020-08-16 11:24:10 -0500 |
|---|---|---|
| committer | Kiyan Yazdani <yazdani.kiyan@protonmail.com> | 2020-08-16 18:31:56 +0200 |
| commit | ce43dbf54cdc017e6885381f38ea056f78c4e55b (patch) | |
| tree | 27a4e0475002d2e3845e942cab8d57aeea679bff /queries/java | |
| parent | Merge pull request #296 from steelsojka/feat-is-predicate (diff) | |
| download | nvim-treesitter-ce43dbf54cdc017e6885381f38ea056f78c4e55b.tar nvim-treesitter-ce43dbf54cdc017e6885381f38ea056f78c4e55b.tar.gz nvim-treesitter-ce43dbf54cdc017e6885381f38ea056f78c4e55b.tar.bz2 nvim-treesitter-ce43dbf54cdc017e6885381f38ea056f78c4e55b.tar.lz nvim-treesitter-ce43dbf54cdc017e6885381f38ea056f78c4e55b.tar.xz nvim-treesitter-ce43dbf54cdc017e6885381f38ea056f78c4e55b.tar.zst nvim-treesitter-ce43dbf54cdc017e6885381f38ea056f78c4e55b.zip | |
fix(queries): use vim-match for non lua regexes
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 f3da9af31..7f3a7aa49 100644 --- a/queries/java/highlights.scm +++ b/queries/java/highlights.scm @@ -103,7 +103,7 @@ ; Variables ((identifier) @constant - (#match? @constant "^_*[A-Z][A-Z\d_]+")) + (#vim-match? @constant "^_*[A-Z][A-Z\d_]+")) (this) @constant.builtin |
