mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-25 02:46:17 +04:00
b19551b11b
- update gdscript highlights - add godot-resource textobjects
29 lines
535 B
Scheme
29 lines
535 B
Scheme
|
|
(class_definition
|
|
(body) @class.inside) @class.around
|
|
|
|
(function_definition
|
|
(body) @function.inside) @function.around
|
|
|
|
(lambda (body) @function.inside) @function.around
|
|
|
|
(parameters
|
|
[
|
|
(identifier)
|
|
(typed_parameter)
|
|
(default_parameter)
|
|
(typed_default_parameter)
|
|
] @parameter.inside @parameter.around)
|
|
|
|
(arguments (_expression) @parameter.inside @parameter.around)
|
|
|
|
[
|
|
(const_statement)
|
|
(variable_statement)
|
|
(pair)
|
|
(enumerator)
|
|
] @entry.around
|
|
|
|
(comment) @comment.inside
|
|
(comment)+ @comment.around
|