diff options
| author | Stephan Seitz <stephan.seitz@fau.de> | 2020-09-12 20:57:01 +0200 |
|---|---|---|
| committer | Thomas Vigouroux <tomvig38@gmail.com> | 2020-09-14 18:27:20 +0200 |
| commit | bcf421b4e7f164dfc8aca8a94949adda2bdda10f (patch) | |
| tree | 2a5d4c5c91f37a81058986bf3d3598beb257d3b6 /queries/java | |
| parent | Folds: rename query files to folds.scm to be consistent (diff) | |
| download | nvim-treesitter-bcf421b4e7f164dfc8aca8a94949adda2bdda10f.tar nvim-treesitter-bcf421b4e7f164dfc8aca8a94949adda2bdda10f.tar.gz nvim-treesitter-bcf421b4e7f164dfc8aca8a94949adda2bdda10f.tar.bz2 nvim-treesitter-bcf421b4e7f164dfc8aca8a94949adda2bdda10f.tar.lz nvim-treesitter-bcf421b4e7f164dfc8aca8a94949adda2bdda10f.tar.xz nvim-treesitter-bcf421b4e7f164dfc8aca8a94949adda2bdda10f.tar.zst nvim-treesitter-bcf421b4e7f164dfc8aca8a94949adda2bdda10f.zip | |
Fix #307: Use and document TSVariable/TSVariableBuiltin in all languages
Diffstat (limited to 'queries/java')
| -rw-r--r-- | queries/java/highlights.scm | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/queries/java/highlights.scm b/queries/java/highlights.scm index 7f3a7aa49..70cbb28a7 100644 --- a/queries/java/highlights.scm +++ b/queries/java/highlights.scm @@ -1,7 +1,10 @@ ; CREDITS @maxbrunsfeld (maxbrunsfeld@gmail.com) -; Methods +; Variables +(identifier) @variable + +; Methods (method_declaration name: (identifier) @method) @@ -105,7 +108,7 @@ ((identifier) @constant (#vim-match? @constant "^_*[A-Z][A-Z\d_]+")) -(this) @constant.builtin +(this) @variable.builtin ; Literals |
