summaryrefslogtreecommitdiff
path: root/vendor/queries/pascal/textobjects.scm
blob: 9abb78714369349314c22c1262823b7d8390d009 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
; Vendored from helix (https://github.com/helix-editor/helix) at 278b24389:
; runtime/queries/pascal/textobjects.scm.
; Licensed under the Mozilla Public License 2.0 (vendor/queries/helix.LICENSE,
; https://mozilla.org/MPL/2.0/).

(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