aboutsummaryrefslogtreecommitdiff
path: root/helix-22.03-x86_64-windows/runtime/queries/cpp/textobjects.scm
diff options
context:
space:
mode:
Diffstat (limited to 'helix-22.03-x86_64-windows/runtime/queries/cpp/textobjects.scm')
-rw-r--r--helix-22.03-x86_64-windows/runtime/queries/cpp/textobjects.scm7
1 files changed, 7 insertions, 0 deletions
diff --git a/helix-22.03-x86_64-windows/runtime/queries/cpp/textobjects.scm b/helix-22.03-x86_64-windows/runtime/queries/cpp/textobjects.scm
new file mode 100644
index 0000000..6e3de1a
--- /dev/null
+++ b/helix-22.03-x86_64-windows/runtime/queries/cpp/textobjects.scm
@@ -0,0 +1,7 @@
+; inherits: c
+
+(lambda_expression
+ body: (_) @function.inside) @function.around
+
+(class_specifier
+ body: (_) @class.inside) @class.around