mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-22 00:48:58 +02:00
33 lines
662 B
Nix
33 lines
662 B
Nix
{
|
|
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";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|