mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-19 11:50:09 -04:00
fix(scala): add block_comment
This commit is contained in:
parent
1b5a7334bb
commit
ab3bf7d956
2 changed files with 9 additions and 3 deletions
|
|
@ -232,9 +232,12 @@
|
||||||
|
|
||||||
"return" @keyword.return
|
"return" @keyword.return
|
||||||
|
|
||||||
(comment) @comment @spell
|
[
|
||||||
|
(comment)
|
||||||
|
(block_comment)
|
||||||
|
] @comment @spell
|
||||||
|
|
||||||
((comment) @comment.documentation
|
((block_comment) @comment.documentation
|
||||||
(#lua-match? @comment.documentation "^/[*][*][^*].*[*]/$"))
|
(#lua-match? @comment.documentation "^/[*][*][^*].*[*]/$"))
|
||||||
|
|
||||||
;; `case` is a conditional keyword in case_block
|
;; `case` is a conditional keyword in case_block
|
||||||
|
|
|
||||||
|
|
@ -1 +1,4 @@
|
||||||
(comment) @comment
|
[
|
||||||
|
(comment)
|
||||||
|
(block_comment)
|
||||||
|
] @comment
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue