diff --git a/.luarc.json b/.luarc.json new file mode 100644 index 0000000..8b4f767 --- /dev/null +++ b/.luarc.json @@ -0,0 +1,8 @@ +{ + "runtime.version": "LuaJIT", + "workspace.library": [ + "${3rd}/luv/library", + "$VIMRUNTIME/lua" + ], + "workspace.checkThirdParty": false +} diff --git a/vim.toml b/vim.toml deleted file mode 100644 index 77b3b7f..0000000 --- a/vim.toml +++ /dev/null @@ -1,55 +0,0 @@ -[selene] -base = "lua51" -name = "vim" - -[vim] -any = true - -[[describe.args]] -type = "string" -[[describe.args]] -type = "function" - -[[it.args]] -type = "string" -[[it.args]] -type = "function" - -[[before_each.args]] -type = "function" -[[after_each.args]] -type = "function" - -[assert.is_not] -any = true - -[assert.matches] -any = true - -[assert.has_error] -any = true - -[[assert.equals.args]] -type = "any" -[[assert.equals.args]] -type = "any" -[[assert.equals.args]] -type = "any" -required = false - -[[assert.same.args]] -type = "any" -[[assert.same.args]] -type = "any" - -[[assert.truthy.args]] -type = "any" - -[[assert.falsy.args]] -type = "any" - -[[assert.spy.args]] -type = "any" - -[[assert.stub.args]] -type = "any" diff --git a/vim.yml b/vim.yml new file mode 100644 index 0000000..716f729 --- /dev/null +++ b/vim.yml @@ -0,0 +1,21 @@ +name: "vim" +base: "lua51" + +globals: + vim: + any: true + + jit: + any: true + + assert: + any: true + + describe: + any: true + + it: + any: true + + before_each.args: + any: true