summaryrefslogtreecommitdiff
path: root/runtime/queries/scala/textobjects.scm
diff options
context:
space:
mode:
authorJaakko Paju2024-01-22 18:51:56 +0000
committerGitHub2024-01-22 18:51:56 +0000
commit9ed3dc52e0d56f0f0fd721d7f10da5f935f56ef9 (patch)
tree4fa2b6c45a5abcfbe1c1454d79bc5095163692b0 /runtime/queries/scala/textobjects.scm
parent52a43bcdfcc258a2871be468a3e31496dd2d80c8 (diff)
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'
Diffstat (limited to 'runtime/queries/scala/textobjects.scm')
-rw-r--r--runtime/queries/scala/textobjects.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/queries/scala/textobjects.scm b/runtime/queries/scala/textobjects.scm
index fe0b8c25..6e551c41 100644
--- a/runtime/queries/scala/textobjects.scm
+++ b/runtime/queries/scala/textobjects.scm
@@ -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