helix-mirror/runtime/queries/gdscript/textobjects.scm

20 lines
398 B
Scheme
Raw Normal View History

2022-09-10 17:47:08 +04:00
(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)
2022-09-10 17:47:08 +04:00
(comment) @comment.inside
(comment)+ @comment.around