From 152af07ecf2fceeac63f35ff07c1f58e51eea896 Mon Sep 17 00:00:00 2001 From: Stephan Seitz Date: Thu, 13 Jan 2022 09:58:57 +0100 Subject: highlights/injections/indents(java): comment -> line_comment,block_comment Ref https://github.com/tree-sitter/tree-sitter-java/pull/93 --- queries/java/highlights.scm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'queries/java/highlights.scm') diff --git a/queries/java/highlights.scm b/queries/java/highlights.scm index fc6f4bf07..19276b3c1 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) -- cgit v1.2.3-70-g09d2