helix/runtime/queries/fortran/indents.scm

32 lines
574 B
Scheme
Raw Normal View History

2022-07-11 00:27:44 +08:00
[
(module)
2025-06-20 03:54:50 +08:00
(submodule)
2022-07-11 00:27:44 +08:00
(program)
(subroutine)
2025-06-20 03:54:50 +08:00
(module_procedure)
2022-07-11 00:27:44 +08:00
(function)
; (interface)
(if_statement)
(do_loop_statement)
(where_statement)
(derived_type_definition)
(enum)
] @indent
[
(end_module_statement)
2025-06-20 03:54:50 +08:00
(end_submodule_statement)
2022-07-11 00:27:44 +08:00
(end_program_statement)
(end_subroutine_statement)
2025-06-20 03:54:50 +08:00
(end_module_procedure_statement)
2022-07-11 00:27:44 +08:00
(end_function_statement)
; (end_interface_statement)
(end_if_statement)
(end_do_loop_statement)
(else_clause)
(elseif_clause)
(end_type_statement)
(end_enum_statement)
(end_where_statement)
2025-06-20 03:54:50 +08:00
] @branch