Add nil and zls LSP's
This commit is contained in:
parent
d9091a23ae
commit
beb700f3fe
2 changed files with 25 additions and 0 deletions
15
nvim/lua/lsp/servers/nil.lua
Normal file
15
nvim/lua/lsp/servers/nil.lua
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
return {
|
||||
cmd = { "nil" },
|
||||
filetypes = { "nix" },
|
||||
root_markers = {
|
||||
"flake.nix",
|
||||
".git"
|
||||
},
|
||||
settings = {
|
||||
["nil"] = {
|
||||
formatting = {
|
||||
command = { "nixfmt" },
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue