mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -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
|
||||
(null_literal) @constant.builtin
|
||||
|
||||
(comment) @comment
|
||||
[
|
||||
(line_comment)
|
||||
(block_comment)
|
||||
] @comment
|
||||
|
||||
[
|
||||
(true)
|
||||
|
|
|
|||
|
|
@ -19,4 +19,4 @@
|
|||
"]"
|
||||
] @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