refactor: added nix fmt command to possible formatters
This commit is contained in:
parent
4e89eeab86
commit
e294ad78d9
1 changed files with 7 additions and 1 deletions
|
|
@ -1,4 +1,6 @@
|
|||
{
|
||||
{lib, ...}: let
|
||||
inherit (lib.nixvim.utils) listToUnkeyedAttrs;
|
||||
in {
|
||||
keymaps = [
|
||||
{
|
||||
mode = "n";
|
||||
|
|
@ -77,6 +79,10 @@
|
|||
command = "raco";
|
||||
args = ["fmt"];
|
||||
};
|
||||
nix_fmt = {
|
||||
command = "nix";
|
||||
args = ["fmt"];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue