feat: Nvim | add lspconfig for nil
This commit is contained in:
@@ -61,3 +61,19 @@ lspconfig.pyright.setup {
|
||||
}
|
||||
|
||||
lspconfig.gleam.setup({})
|
||||
|
||||
lspconfig.nil_ls.setup {
|
||||
on_attach = on_attach,
|
||||
capabilities = capabilities,
|
||||
autostart = true,
|
||||
cmd = { "nil" },
|
||||
filetypes = { "nix" },
|
||||
settings = {
|
||||
['nil'] = {
|
||||
testSetting = 42,
|
||||
formatting = {
|
||||
command = { "nixfmt" },
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user