build: add tooling and dev environment configs
Problem: need formatting, linting, testing, and nix dev shell configs. Solution: add stylua, selene, lua-language-server, busted, pre-commit, flake.nix, and luarocks rockspec configuration.
This commit is contained in:
parent
717a6133cd
commit
b617ee284e
9 changed files with 181 additions and 0 deletions
8
.luarc.json
Normal file
8
.luarc.json
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"runtime.version": "LuaJIT",
|
||||
"runtime.path": ["lua/?.lua", "lua/?/init.lua"],
|
||||
"diagnostics.globals": ["vim", "jit"],
|
||||
"workspace.library": ["$VIMRUNTIME/lua", "${3rd}/luv/library"],
|
||||
"workspace.checkThirdParty": false,
|
||||
"completion.callSnippet": "Replace"
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue