feat(groovy): update highlights from upstream (#5076)

Groovydoc multiline comment support.
This commit is contained in:
Piotr Bugała 2023-07-07 08:58:44 +02:00 committed by GitHub
parent e1ab5391e5
commit 4cc1b342f6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 2 deletions

View file

@ -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