From c3d56f0f902a141dfb40808749c0eaf726ce600e Mon Sep 17 00:00:00 2001 From: Giulio De Pasquale Date: Wed, 15 Feb 2023 12:49:01 -0800 Subject: [PATCH] helix: Added black python formatter --- roles/home/helix.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/roles/home/helix.nix b/roles/home/helix.nix index 85edc4d..506a519 100644 --- a/roles/home/helix.nix +++ b/roles/home/helix.nix @@ -31,9 +31,14 @@ [[language]] name = "nix" formatter = { command = "nixpkgs-fmt" } + + [[language]] + name = "python" + formatter = { command = "black", args = [ "-" ] } ''; packages = with pkgs.unstablePkgs; [ + black helix clang-tools rust-analyzer