aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/slint/textobjects.scm
blob: 7e2f36096c7114b8170aaa114252d2fd2c75bd16 (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
28
29
30
31
32
33
34
35
(function_definition
  (imperative_block) @funtion.inside) @function.around

(callback_event
  (imperative_block) @function.inside) @function.around

(property
  (imperative_block) @function.inside) @function.around

(struct_definition
  (struct_block) @class.inside) @class.around

(enum_definition
  (enum_block) @class.inside) @class.around

(global_definition
  (global_block) @class.inside) @class.around

(component_definition
  (block) @class.inside) @class.around

(component_definition
  (block) @class.inside) @class.around

(comment) @comment.around

(typed_identifier
  name: (_) @parameter.inside) @parameter.around

(callback
  arguments: (_) @parameter.inside)

(string_value
  "\"" . (_) @text.inside . "\"") @text.around