aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/perl/indents.scm
blob: 03318243bd1226298f5839c39a9fdf1fcc764375 (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
28
29
[
  (block)
  (conditional_statement)
  (loop_statement)
  (cstyle_for_statement)
  (for_statement)
  (elsif)
  (array_element_expression)
  (hash_element_expression)
  (coderef_call_expression)
  (anonymous_slice_expression)
  (slice_expression)
  (keyval_expression)
  (anonymous_array_expression)
  (anonymous_hash_expression)
  (stub_expression)
  (func0op_call_expression)
  (func1op_call_expression)
  (map_grep_expression)
  (function_call_expression)
  (method_call_expression)
  (attribute)
] @indent

[
  "}"
  "]"
  ")"
] @outdent