nix-community.nixvim/tests/test-sources/plugins/lsp/language-servers/nil-ls.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

34 lines
662 B
Nix
Raw Normal View History

{
example = {
plugins.lsp = {
enable = true;
servers.nil-ls = {
enable = true;
settings = {
diagnostics = {
ignored = [
"unused_binding"
"unused_with"
];
excludedFiles = [ "Cargo.nix" ];
};
formatting = {
command = [ "nixfmt" ];
};
nix = {
binary = "nix";
maxMemoryMB = 2048;
flake = {
autoArchive = true;
autoEvalInputs = false;
nixpkgsInputName = "nixpkgs";
};
};
};
};
};
};
}