aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/queries')
-rw-r--r--runtime/queries/elixir/textobjects.scm2
-rw-r--r--runtime/queries/heex/textobjects.scm1
2 files changed, 3 insertions, 0 deletions
diff --git a/runtime/queries/elixir/textobjects.scm b/runtime/queries/elixir/textobjects.scm
index 227a52f4..cc1bee99 100644
--- a/runtime/queries/elixir/textobjects.scm
+++ b/runtime/queries/elixir/textobjects.scm
@@ -31,3 +31,5 @@
(arguments ((string) . (_)?))
(do_block (_)* @test.inside)?)
(#match? @_keyword "^(test|describe)$")) @test.around
+
+(comment) @comment.around @comment.inside
diff --git a/runtime/queries/heex/textobjects.scm b/runtime/queries/heex/textobjects.scm
new file mode 100644
index 00000000..439f61c0
--- /dev/null
+++ b/runtime/queries/heex/textobjects.scm
@@ -0,0 +1 @@
+(comment) @comment.around @comment.inside