nvim-treesitter/queries/sql/indents.scm
Dian M Fay b75f79bc5f fix(sql): compound_statement -> block
a little more reorganizing; we've copied the indents file into
tree-sitter-sql and it tests okay there.
2023-06-25 17:31:24 +02:00

26 lines
323 B
Scheme

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