Skip to content

Commit

Permalink
test: add nvim-treesitter indents.scm
Browse files Browse the repository at this point in the history
  • Loading branch information
dmfay committed Jun 25, 2023
1 parent 71f0890 commit 54fa504
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions queries/indents.scm
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
[
(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

0 comments on commit 54fa504

Please sign in to comment.