mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-11 07:50:07 -04:00
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:
parent
c5348bbbbe
commit
152af07ecf
3 changed files with 6 additions and 3 deletions
|
|
@ -140,7 +140,10 @@
|
||||||
(string_literal) @string
|
(string_literal) @string
|
||||||
(null_literal) @constant.builtin
|
(null_literal) @constant.builtin
|
||||||
|
|
||||||
(comment) @comment
|
[
|
||||||
|
(line_comment)
|
||||||
|
(block_comment)
|
||||||
|
] @comment
|
||||||
|
|
||||||
[
|
[
|
||||||
(true)
|
(true)
|
||||||
|
|
|
||||||
|
|
@ -19,4 +19,4 @@
|
||||||
"]"
|
"]"
|
||||||
] @branch
|
] @branch
|
||||||
|
|
||||||
(comment) @ignore
|
[(block_comment) (line_comment)] @ignore
|
||||||
|
|
|
||||||
|
|
@ -1 +1 @@
|
||||||
(comment) @comment
|
[(block_comment) (line_comment)] @comment
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue