feat(nu): add parser and queries (#7267)

This commit is contained in:
Abhishek Singh 2024-11-05 19:55:42 +05:30 committed by GitHub
parent 509d38fee8
commit 604aa5a7c8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 449 additions and 0 deletions

17
tests/indent/nu_spec.lua Normal file
View file

@ -0,0 +1,17 @@
local Runner = require("tests.indent.common").Runner
--local XFAIL = require("tests.indent.common").XFAIL
local run = Runner:new(it, "tests/indent/nu", {
tabstop = 2,
shiftwidth = 2,
softtabstop = -1,
expandtab = true,
})
describe("indent Nu:", function()
describe("whole file:", function()
run:whole_file(".", {
expected_failures = {},
})
end)
end)