aboutsummaryrefslogtreecommitdiffstats
path: root/tests/indent/wgsl_spec.lua
diff options
context:
space:
mode:
authorStephan Seitz <stephan.seitz@fau.de>2022-08-31 00:23:49 +0200
committerStephan Seitz <stephan.seitz@fau.de>2022-09-28 19:25:07 -0400
commit27cba73df9ddca00c066c7ebb514576a99bb8b2c (patch)
treec31fbbaf9026300942c2b1a47d54040d2be977cb /tests/indent/wgsl_spec.lua
parenthaskell/highlights: Match `pattern` as a keyword (diff)
downloadnvim-treesitter-27cba73df9ddca00c066c7ebb514576a99bb8b2c.tar
nvim-treesitter-27cba73df9ddca00c066c7ebb514576a99bb8b2c.tar.gz
nvim-treesitter-27cba73df9ddca00c066c7ebb514576a99bb8b2c.tar.bz2
nvim-treesitter-27cba73df9ddca00c066c7ebb514576a99bb8b2c.tar.lz
nvim-treesitter-27cba73df9ddca00c066c7ebb514576a99bb8b2c.tar.xz
nvim-treesitter-27cba73df9ddca00c066c7ebb514576a99bb8b2c.tar.zst
nvim-treesitter-27cba73df9ddca00c066c7ebb514576a99bb8b2c.zip
indents(wgsl): add indents.scm
Diffstat (limited to 'tests/indent/wgsl_spec.lua')
-rw-r--r--tests/indent/wgsl_spec.lua19
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/indent/wgsl_spec.lua b/tests/indent/wgsl_spec.lua
new file mode 100644
index 000000000..4ffdbbda0
--- /dev/null
+++ b/tests/indent/wgsl_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/wgsl", {
+ tabstop = 4,
+ shiftwidth = 4,
+ softtabstop = 0,
+ expandtab = true,
+})
+
+describe("indent WGSL:", function()
+ describe("whole file:", function()
+ run:whole_file(".", {
+ expected_failures = {},
+ })
+ end)
+
+ describe("new line:", function() end)
+end)