summaryrefslogtreecommitdiff
path: root/runtime/queries/pascal/textobjects.scm
diff options
context:
space:
mode:
authorath32022-08-25 22:59:02 +0000
committerGitHub2022-08-25 22:59:02 +0000
commit86a8ea57bb3cb651cf9bee3fd1ae37f7e134c526 (patch)
tree37a22858b9625d4222415c64b4eeff9e6239b951 /runtime/queries/pascal/textobjects.scm
parentf0fb3407d2bac6523f0f293d18642393ba3c2a7c (diff)
Pascal support (#3542)
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