aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/matlab/indents.scm
blob: b2a8e55dd5e88f0dc49a2f4587928dab2883ab77 (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
[
  (if_statement)
  (for_statement)
  (while_statement)
  (switch_statement)
  (try_statement)
  (function_definition)
  (class_definition)
  (enumeration)
  (events)
  (methods)
  (properties)
] @indent

[
  (elseif_clause)
  (else_clause)
  (case_clause)
  (otherwise_clause)
  (catch_clause)
] @indent @extend

[ "end" ] @outdent