aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/kdl/textobjects.scm
blob: 7f9a562cc7701068c1c74b60d5818eaed3b64a8b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
(type (_) @test.inside) @test.around

(node
	children: (node_children)? @class.inside) @class.around

(node
	children: (node_children)? @function.inside) @function.around

(node (identifier) @function.movement)

[
	(single_line_comment)
	(multi_line_comment)
] @comment.inside

[
	(single_line_comment)+
	(multi_line_comment)+
] @comment.around

[
	(prop)
	(value)
] @parameter.inside

(value (type) ? (_) @parameter.inside @parameter.movement . ) @parameter.around