mirror of
https://github.com/NotAShelf/neovim-flake.git
synced 2025-12-20 07:00:09 +01:00
nix: fix outdated references to format.package
This commit is contained in:
parent
2988a18858
commit
5197abdab9
1 changed files with 2 additions and 2 deletions
|
|
@ -18,10 +18,10 @@
|
|||
formattingCmd = mkIf (cfg.format.enable && cfg.lsp.enable) {
|
||||
formatting = mkMerge [
|
||||
(mkIf (cfg.format.type == "alejandra") {
|
||||
command = ["${cfg.format.package}/bin/alejandra" "--quiet"];
|
||||
command = [(getExe pkgs.alejandra) "--quiet"];
|
||||
})
|
||||
(mkIf (cfg.format.type == "nixfmt") {
|
||||
command = ["${cfg.format.package}/bin/nixfmt"];
|
||||
command = [(getExe pkgs.nixfmt-rfc-style)];
|
||||
})
|
||||
];
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue