aboutsummaryrefslogtreecommitdiffstats
path: root/runtime/queries/sql/indents.scm
blob: 34ae079dd3b3bdf1e3e07de6c3ac4acb9619427f (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
[
  (select)
  (cte)
  (column_definitions)
  (case)
  (subquery)
  (insert)
  (when_clause)
] @indent.begin

(block
  (keyword_begin)) @indent.begin

(column_definitions
  ")" @indent.branch)

(subquery
  ")" @indent.branch)

(cte
  ")" @indent.branch)

[
  (keyword_end)
  (keyword_values)
  (keyword_into)
] @indent.branch

(keyword_end) @indent.end