summaryrefslogtreecommitdiffstats
path: root/queries/sql/indents.scm
blob: b09f9b5bda8c9aced9f747141fa935cfc4c5c8ce (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
[
 (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