mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-30 12:24:28 +02:00
34 lines
662 B
Nix
34 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";
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
}
|