mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -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
|
|
@ -192,7 +192,7 @@
|
|||
"revision": "5e66e961eee421786bdda8495ed1db045e06b5fe"
|
||||
},
|
||||
"groovy": {
|
||||
"revision": "7ebfaf33a0f68f9283be17903ebecfdac05a1f3b"
|
||||
"revision": "54c7da8b167261e76c79513c0364a01836093526"
|
||||
},
|
||||
"hack": {
|
||||
"revision": "95e63e79e0d9f91000bd11d458997fabed1bb1e2"
|
||||
|
|
|
|||
|
|
@ -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