feat: configure nil_ls

nixos
Moritz Böhme 2024-07-01 21:41:32 +02:00
parent 55325053ec
commit a11717c8ce
Signed by: moritz
GPG Key ID: 970C6E89EB0547A9
1 changed files with 10 additions and 1 deletions

View File

@ -123,7 +123,6 @@ local servers = {
"bashls",
"gleam",
"gopls",
"nil_ls",
"pylsp",
"ruff_lsp",
"templ",
@ -133,6 +132,16 @@ for _, lsp in ipairs(servers) do
lspconfig_setup(lsp, {})
end
lspconfig_setup("nil_ls", {
settings = {
flake = {
autoArchive = true,
autoEvalInputs = true,
nixpkgsInputName = "nixpkgs",
},
},
})
lspconfig_setup("nixd", {
settings = {
nixd = {