summaryrefslogtreecommitdiff
path: root/runtime/queries/gdscript/textobjects.scm
blob: 47512bba785dd7479c4b63fc93633afcf7492a42 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
(class_definition
  (body) @class.inside) @class.around

(function_definition
  (body) @function.inside) @function.around

(parameters 
  [
    (identifier)
    (typed_parameter)
    (default_parameter)    
    (typed_default_parameter)  
  ] @parameter.inside @parameter.around)

(arguments (_expression) @parameter.inside @parameter.around)

(comment) @comment.inside
(comment)+ @comment.around