mirror of
https://github.com/helix-editor/helix.git
synced 2025-04-05 11:57:43 +03:00
Update Scala tree-sitter grammar (#9348)
* Update Scala tree-sitter grammar * Support block comments Modify comment handling in textobjects and highlights to support new TS-scala node type 'block_comment'
This commit is contained in:
parent
52a43bcdfc
commit
9ed3dc52e0
3 changed files with 4 additions and 4 deletions
|
@ -263,7 +263,7 @@
|
|||
|
||||
"return" @keyword.control.return
|
||||
|
||||
(comment) @comment
|
||||
[(comment) (block_comment)] @comment
|
||||
|
||||
;; `case` is a conditional keyword in case_block
|
||||
|
||||
|
|
|
@ -51,8 +51,8 @@
|
|||
|
||||
; Comment queries
|
||||
|
||||
(comment) @comment.inside
|
||||
(comment) @comment.around ; Does not match consecutive block comments
|
||||
[(comment) (block_comment)] @comment.inside
|
||||
[(comment) (block_comment)] @comment.around ; Does not match consecutive block comments
|
||||
|
||||
|
||||
; Test queries
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue