feat: configure nil_ls

This commit is contained in:
Moritz Böhme 2024-07-01 21:41:32 +02:00
parent 55325053ec
commit a11717c8ce
Signed by: moritz
GPG key ID: 970C6E89EB0547A9

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 = {