nix-community.nixvim/tests/test-sources/plugins/lsp/nixd.nix
2024-03-11 19:24:14 +01:00

33 lines
700 B
Nix

{
example = {
plugins.lsp = {
enable = true;
servers.nixd = {
# TODO As of 2024-03-10, nixd is broken (see https://github.com/nix-community/nixd/issues/357)
enable = false;
settings = {
eval = {
target = {
args = ["foo" "bar"];
installable = "";
};
depth = 0;
workers = 3;
};
formatting = {
command = "nixpkgs-fmt";
};
options = {
enable = true;
target = {
args = ["yes" "no" "maybe"];
installable = "";
};
};
};
};
};
};
}