mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-23 01:46:18 +04:00
c71b4c5579
* update grammar for gdscript. * add comment injections for gdscript. * add indent for gdscript * add file-type support for godot-resource
36 lines
499 B
Scheme
36 lines
499 B
Scheme
[
|
|
(if_statement)
|
|
(for_statement)
|
|
(while_statement)
|
|
(match_statement)
|
|
(pattern_section)
|
|
|
|
(function_definition)
|
|
(constructor_definition)
|
|
(class_definition)
|
|
(enum_definition)
|
|
|
|
(dictionary (_))
|
|
(array (_))
|
|
] @indent
|
|
|
|
[
|
|
(if_statement)
|
|
(for_statement)
|
|
(while_statement)
|
|
(match_statement)
|
|
(pattern_section)
|
|
|
|
(function_definition)
|
|
(class_definition)
|
|
] @extend
|
|
|
|
|
|
[
|
|
(return_statement)
|
|
(break_statement)
|
|
(continue_statement)
|
|
(pass_statement)
|
|
] @extend.prevent-once
|
|
|