From e294ad78d976619511820fec9313ee25963fbe2d Mon Sep 17 00:00:00 2001 From: C4 Patino Date: Mon, 29 Sep 2025 13:48:20 -0500 Subject: [PATCH] refactor: added nix fmt command to possible formatters --- config/languages/conform.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/config/languages/conform.nix b/config/languages/conform.nix index 094faf3..73761ec 100755 --- a/config/languages/conform.nix +++ b/config/languages/conform.nix @@ -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"]; + }; }; }; };