diff options
| author | Matthias Q <35303817+matthias-Q@users.noreply.github.com> | 2023-05-25 07:53:14 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-05-25 05:53:14 +0000 |
| commit | dae928b3bbbcdd3890c61549bdc4c50e1e0d3094 (patch) | |
| tree | 94166668dc2cad42bcb23a4c18b8278d893c6f2d /tests/indent/sql_spec.lua | |
| parent | Update parsers: c, cuda, scala, t32 (diff) | |
| download | nvim-treesitter-dae928b3bbbcdd3890c61549bdc4c50e1e0d3094.tar nvim-treesitter-dae928b3bbbcdd3890c61549bdc4c50e1e0d3094.tar.gz nvim-treesitter-dae928b3bbbcdd3890c61549bdc4c50e1e0d3094.tar.bz2 nvim-treesitter-dae928b3bbbcdd3890c61549bdc4c50e1e0d3094.tar.lz nvim-treesitter-dae928b3bbbcdd3890c61549bdc4c50e1e0d3094.tar.xz nvim-treesitter-dae928b3bbbcdd3890c61549bdc4c50e1e0d3094.tar.zst nvim-treesitter-dae928b3bbbcdd3890c61549bdc4c50e1e0d3094.zip | |
indents(sql): initial support (#4857)
* indents(sql): initial support
* indents(sql): fix queries and lua style
Diffstat (limited to 'tests/indent/sql_spec.lua')
| -rw-r--r-- | tests/indent/sql_spec.lua | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/indent/sql_spec.lua b/tests/indent/sql_spec.lua new file mode 100644 index 000000000..2fdfc9b1b --- /dev/null +++ b/tests/indent/sql_spec.lua @@ -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) |
