summaryrefslogtreecommitdiff
path: root/runtime/queries/pascal/textobjects.scm
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/queries/pascal/textobjects.scm')
-rw-r--r--runtime/queries/pascal/textobjects.scm10
1 files changed, 10 insertions, 0 deletions
diff --git a/runtime/queries/pascal/textobjects.scm b/runtime/queries/pascal/textobjects.scm
new file mode 100644
index 00000000..56dbe540
--- /dev/null
+++ b/runtime/queries/pascal/textobjects.scm
@@ -0,0 +1,10 @@
+
+(declType (declClass (declSection) @class.inside)) @class.around
+
+(defProc body: (_) @function.inside) @function.around
+
+(declArgs (_) @parameter.inside) @parameter.around
+(exprArgs (_) @parameter.inside) @parameter.around
+
+(comment) @comment.inside
+(comment)+ @comment.around