aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/cmake/textobjects.scm
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/queries/cmake/textobjects.scm')
-rw-r--r--runtime/queries/cmake/textobjects.scm5
1 files changed, 4 insertions, 1 deletions
diff --git a/runtime/queries/cmake/textobjects.scm b/runtime/queries/cmake/textobjects.scm
index 1fa9ded5..049aa84a 100644
--- a/runtime/queries/cmake/textobjects.scm
+++ b/runtime/queries/cmake/textobjects.scm
@@ -1,4 +1,7 @@
-(macro_def) @function.around
+[
+ (macro_def)
+ (function_def)
+] @function.around
(argument) @parameter.inside