feat(nvim/nil): format using nixpkgs-fmt
This commit is contained in:
parent
5de2ea6dd6
commit
73a834405d
@ -225,6 +225,12 @@ in
|
|||||||
};
|
};
|
||||||
nix = {
|
nix = {
|
||||||
command = "${pkgs.nil}/bin/nil";
|
command = "${pkgs.nil}/bin/nil";
|
||||||
|
formatting.command = "${pkgs.nixpkgs-fmt}/bin/nixpkgs-fmt";
|
||||||
|
flake = {
|
||||||
|
autoArchive = true;
|
||||||
|
autoEvalInputs = true;
|
||||||
|
};
|
||||||
|
maxMemoryMB= 1024 * 4;
|
||||||
rootPatterns = [ "flake.nix" ];
|
rootPatterns = [ "flake.nix" ];
|
||||||
filetypes = [ "nix" ];
|
filetypes = [ "nix" ];
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user