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:
Barrett Ruth 2026-02-24 15:08:44 -05:00
parent 717a6133cd
commit b617ee284e
9 changed files with 181 additions and 0 deletions

8
.luarc.json Normal file
View 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"
}