summaryrefslogtreecommitdiff
path: root/runtime/queries/cmake
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/queries/cmake')
-rw-r--r--runtime/queries/cmake/textobjects.scm9
1 files changed, 9 insertions, 0 deletions
diff --git a/runtime/queries/cmake/textobjects.scm b/runtime/queries/cmake/textobjects.scm
index b0d1b108..1fa9ded5 100644
--- a/runtime/queries/cmake/textobjects.scm
+++ b/runtime/queries/cmake/textobjects.scm
@@ -1,3 +1,12 @@
(macro_def) @function.around
(argument) @parameter.inside
+
+[
+ (bracket_comment)
+ (line_comment)
+] @comment.inside
+
+(line_comment)+ @comment.around
+
+(bracket_comment) @comment.around \ No newline at end of file