summaryrefslogtreecommitdiff
path: root/queries/java/highlights.scm
diff options
context:
space:
mode:
authorStephan Seitz <sseitz@nvidia.com>2022-01-13 09:58:57 +0100
committerStephan Seitz <stephan.seitz@fau.de>2022-01-16 14:24:20 +0100
commit152af07ecf2fceeac63f35ff07c1f58e51eea896 (patch)
tree10143929cb7968beacb696e8a8b7b30a01ab811d /queries/java/highlights.scm
parentc5348bbbbe132f1ed20beb861f38960a0f23111b (diff)
highlights/injections/indents(java): comment -> line_comment,block_comment
Ref https://github.com/tree-sitter/tree-sitter-java/pull/93
Diffstat (limited to 'queries/java/highlights.scm')
-rw-r--r--queries/java/highlights.scm5
1 files changed, 4 insertions, 1 deletions
diff --git a/queries/java/highlights.scm b/queries/java/highlights.scm
index fc6f4bf0..19276b3c 100644
--- a/queries/java/highlights.scm
+++ b/queries/java/highlights.scm
@@ -140,7 +140,10 @@
(string_literal) @string
(null_literal) @constant.builtin
-(comment) @comment
+[
+ (line_comment)
+ (block_comment)
+] @comment
[
(true)