33 lines
646 B
Lua
33 lines
646 B
Lua
return {
|
|
{
|
|
"neovim/nvim-lspconfig",
|
|
opts = {
|
|
servers = {
|
|
yamlls = {
|
|
settings = {
|
|
yaml = {
|
|
schemas = {}, -- This clears the auto-detected schemas (like K8s)
|
|
completion = false, -- This turns off the completion for YAML
|
|
},
|
|
},
|
|
},
|
|
gopls = {},
|
|
nixd = {},
|
|
},
|
|
},
|
|
setup = {
|
|
cmd = { "nixd" },
|
|
settings = {
|
|
nixd = {
|
|
nixpkgs = {
|
|
expr = "import <nixpkgs> { }",
|
|
},
|
|
formatting = {
|
|
command = { "nixfmt" },
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
}
|