1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-24 09:40:06 +08:00
SpaceVim/bundle/nvim-treesitter/queries/sql/indents.scm

28 lines
337 B
Scheme

[
(select)
(cte)
(column_definitions)
(case)
(subquery)
(insert)
] @indent.begin
(compound_statement
(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