highlights/injections/indents(java): comment -> line_comment,block_comment

Ref https://github.com/tree-sitter/tree-sitter-java/pull/93
This commit is contained in:
Stephan Seitz 2022-01-13 09:58:57 +01:00 committed by Stephan Seitz
parent c5348bbbbe
commit 152af07ecf
3 changed files with 6 additions and 3 deletions

View file

@ -140,7 +140,10 @@
(string_literal) @string
(null_literal) @constant.builtin
(comment) @comment
[
(line_comment)
(block_comment)
] @comment
[
(true)

View file

@ -19,4 +19,4 @@
"]"
] @branch
(comment) @ignore
[(block_comment) (line_comment)] @ignore

View file

@ -1 +1 @@
(comment) @comment
[(block_comment) (line_comment)] @comment