aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/llvm-mir/textobjects.scm
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/queries/llvm-mir/textobjects.scm')
-rw-r--r--runtime/queries/llvm-mir/textobjects.scm9
1 files changed, 9 insertions, 0 deletions
diff --git a/runtime/queries/llvm-mir/textobjects.scm b/runtime/queries/llvm-mir/textobjects.scm
index 73f6f772..003ce594 100644
--- a/runtime/queries/llvm-mir/textobjects.scm
+++ b/runtime/queries/llvm-mir/textobjects.scm
@@ -1,3 +1,12 @@
(basic_block) @function.around
(argument) @parameter.inside
+
+[
+ (comment)
+ (multiline_comment)
+] @comment.inside
+
+(comment)+ @comment.around
+
+(multiline_comment) @comment.around