aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/tablegen/textobjects.scm
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/queries/tablegen/textobjects.scm')
-rw-r--r--runtime/queries/tablegen/textobjects.scm7
1 files changed, 7 insertions, 0 deletions
diff --git a/runtime/queries/tablegen/textobjects.scm b/runtime/queries/tablegen/textobjects.scm
new file mode 100644
index 00000000..2cb80268
--- /dev/null
+++ b/runtime/queries/tablegen/textobjects.scm
@@ -0,0 +1,7 @@
+(class
+ body: (_) @class.inside) @class.around
+
+(multiclass
+ body: (_) @class.inside) @class.around
+
+(_ argument: _ @parameter.inside)