mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -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
19
tests/indent/sql_spec.lua
Normal file
19
tests/indent/sql_spec.lua
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
local Runner = require("tests.indent.common").Runner
|
||||
--local XFAIL = require("tests.indent.common").XFAIL
|
||||
|
||||
local run = Runner:new(it, "tests/indent/sql", {
|
||||
tabstop = 4,
|
||||
shiftwidth = 4,
|
||||
softtabstop = 0,
|
||||
expandtab = true,
|
||||
})
|
||||
|
||||
describe("indent SQL:", function()
|
||||
describe("whole file:", function()
|
||||
run:whole_file(".", {
|
||||
expected_failures = {},
|
||||
})
|
||||
end)
|
||||
|
||||
describe("new line:", function() end)
|
||||
end)
|
||||
Loading…
Add table
Add a link
Reference in a new issue