mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-02 03:26:52 -04:00
indents(sql): initial support (#4857)
* indents(sql): initial support * indents(sql): fix queries and lua style
This commit is contained in:
parent
9bef726044
commit
dae928b3bb
9 changed files with 86 additions and 0 deletions
8
tests/indent/sql/case.sql
Normal file
8
tests/indent/sql/case.sql
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
select
|
||||
case
|
||||
when a = 1 then '1'
|
||||
when a = 2 then '2'
|
||||
when a = 3 then '3'
|
||||
else '0'
|
||||
end as stmt1
|
||||
from tab;
|
||||
Loading…
Add table
Add a link
Reference in a new issue