mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-19 20:00:07 -04:00
feat(groovy): update highlights from upstream (#5076)
Groovydoc multiline comment support.
This commit is contained in:
parent
e1ab5391e5
commit
4cc1b342f6
2 changed files with 14 additions and 2 deletions
|
|
@ -43,7 +43,19 @@
|
|||
|
||||
(string) @string
|
||||
|
||||
(comment) @comment
|
||||
[
|
||||
(line_comment)
|
||||
(block_comment)
|
||||
] @comment @spell
|
||||
|
||||
((block_comment) @comment.documentation
|
||||
(#lua-match? @comment.documentation "^/[*][*][^*].*[*]/$"))
|
||||
|
||||
((line_comment) @comment.documentation
|
||||
(#lua-match? @comment.documentation "^///[^/]"))
|
||||
|
||||
((line_comment) @comment.documentation
|
||||
(#lua-match? @comment.documentation "^///$"))
|
||||
|
||||
(operators) @operator
|
||||
(leading_key) @operator
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue