feat: add lsp configuration

This commit is contained in:
Ian
2026-07-12 23:58:37 +02:00
parent 559319f6af
commit 85a216b44e
6 changed files with 88 additions and 40 deletions
+14
View File
@@ -0,0 +1,14 @@
vim.lsp.config["lua_lsp"] = {
cmd = { "lua-language-server" },
filetypes = { "lua" },
root_markers = { { ".luarc.json", ".luarc.jsonc" }, ".git" },
settings = {
Lua = {
runtime = {
version = "LuaJIT",
},
},
},
}
vim.lsp.enable('lua_lsp')