summaryrefslogtreecommitdiff
path: root/runtime/queries/fortran/indents.scm
blob: daa8bac1042bce63ebcec0cafd5a0cb5b658d070 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
[
  (module)
  (program)
  (subroutine)
  (function)
  ; (interface)
  (if_statement)
  (do_loop_statement)
  (where_statement)
  (derived_type_definition)
  (enum)
] @indent

[
  (end_module_statement)
  (end_program_statement)
  (end_subroutine_statement)
  (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)
] @outdent