helix-mods/runtime/queries/gdscript/indents.scm
Erasin Wang b19551b11b
Updated Godot support (#11235)
- update gdscript highlights
- add godot-resource textobjects
2024-07-31 05:52:47 +09:00

36 lines
520 B
Scheme

[
(if_statement)
(for_statement)
(while_statement)
(match_statement)
(pattern_section)
(function_definition)
(lambda)
(constructor_definition)
(class_definition)
(enum_definition)
(dictionary (_))
(array (_))
(setget)
] @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