diff options
| author | Iron-E <36409591+Iron-E@users.noreply.github.com> | 2023-05-04 19:50:31 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-05-04 15:50:31 -0400 |
| commit | 54741de02c18fae1b33d2b0da36f5ef946712073 (patch) | |
| tree | 5d83c084eeff2b2ad8fb3526167e1022178f729d /queries/java | |
| parent | feat(rust): capture debug macros as `@debug` (diff) | |
| download | nvim-treesitter-54741de02c18fae1b33d2b0da36f5ef946712073.tar nvim-treesitter-54741de02c18fae1b33d2b0da36f5ef946712073.tar.gz nvim-treesitter-54741de02c18fae1b33d2b0da36f5ef946712073.tar.bz2 nvim-treesitter-54741de02c18fae1b33d2b0da36f5ef946712073.tar.lz nvim-treesitter-54741de02c18fae1b33d2b0da36f5ef946712073.tar.xz nvim-treesitter-54741de02c18fae1b33d2b0da36f5ef946712073.tar.zst nvim-treesitter-54741de02c18fae1b33d2b0da36f5ef946712073.zip | |
fix(java): capture type parameter brackets as `@punctuation.delimiter`
It is currently highlighted as `@operator`
Diffstat (limited to 'queries/java')
| -rw-r--r-- | queries/java/highlights.scm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/queries/java/highlights.scm b/queries/java/highlights.scm index c97242295..f7e1c4792 100644 --- a/queries/java/highlights.scm +++ b/queries/java/highlights.scm @@ -258,6 +258,9 @@ [ "(" ")" ] @punctuation.bracket +(type_arguments [ "<" ">" ] @punctuation.bracket) +(type_parameters [ "<" ">" ] @punctuation.bracket) + ; Exceptions [ |
