aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/rescript
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/queries/rescript')
-rw-r--r--runtime/queries/rescript/textobjects.scm7
1 files changed, 7 insertions, 0 deletions
diff --git a/runtime/queries/rescript/textobjects.scm b/runtime/queries/rescript/textobjects.scm
index 7ee8cd1a..fa1c4ff0 100644
--- a/runtime/queries/rescript/textobjects.scm
+++ b/runtime/queries/rescript/textobjects.scm
@@ -7,3 +7,10 @@
;----------
(function body: (_) @function.inside) @function.around
+
+; Comments
+;---------
+
+(comment) @comment.inside
+
+(comment)+ @comment.around