mirror of https://github.com/helix-editor/helix
Add textobject for gdscript (#3760)
parent
54e78dd24f
commit
a15420ed1c
@ -0,0 +1,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
|
Loading…
Reference in New Issue