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/stylua.toml b/stylua.toml index 5687858..32d4fb8 100644 --- a/stylua.toml +++ b/stylua.toml @@ -1,5 +1,9 @@ -column_width = 80 -indent_type = "Spaces" -indent_width = 2 -quote_style = "AutoPreferSingle" -call_parentheses = "None" +indent_type = "Spaces" +indent_width = 2 +column_width = 80 +quote_style = "AutoPreferDouble" +call_parentheses = "Always" +line_endings = "Unix" + +[sort_requires] +enabled = true diff --git a/vim.toml b/vim.toml deleted file mode 100644 index df7e67e..0000000 --- a/vim.toml +++ /dev/null @@ -1,21 +0,0 @@ -[selene] -base = "lua51" -name = "vim" - -[vim] -any = true - -[jit] -any = true - -[assert] -any = true - -[describe] -any = true - -[it] -any = true - -[before_each.args] -any = true 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