aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/gdscript/textobjects.scm
blob: 08954468297824c781ff79312c0b8162703bfdb5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
(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)

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