WIP: setup lua LSP
All checks were successful
ci/woodpecker/push/check Pipeline was successful

This commit is contained in:
Bruno BELANYI 2024-03-12 15:33:48 +00:00
parent d365aba3c0
commit 42ea0f97b1
2 changed files with 19 additions and 0 deletions

18
.nvim.lua Normal file
View file

@ -0,0 +1,18 @@
local lspconfig = require("lspconfig")
-- FIXME: https://github.com/folke/neodev.nvim ?
lspconfig.lua_ls.setup({
settings = {
Lua = {
runtime = {
version = "LuaJIT",
},
workspace = {
checkThirdParty = false,
library = {
vim.env.VIMRUNTIME,
},
},
},
},
})

View file

@ -7,6 +7,7 @@
nativeBuildInputs = with pkgs; [
gitAndTools.pre-commit
lua-language-server
nixpkgs-fmt
];