From 004be60807a1464916972c135f26bce55b102f71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Moritz=20B=C3=B6hme?= Date: Sun, 15 Dec 2024 14:02:25 +0100 Subject: [PATCH] feat: fix formatters --- modules/programs/nvim/new_plugins/conform.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/programs/nvim/new_plugins/conform.nix b/modules/programs/nvim/new_plugins/conform.nix index 3902cd2..d591551 100644 --- a/modules/programs/nvim/new_plugins/conform.nix +++ b/modules/programs/nvim/new_plugins/conform.nix @@ -14,10 +14,10 @@ in go = [ "gofmt" ]; json = [ "jq" ]; lua = [ "stylua" ]; - nix.__raw = ''{ "nixpkgs_fmt", "alejandra", stop_after_first=true }''; + nix = [ "nixpkgs_fmt" ]; python.__raw = '' function(bufnr) - return { first("ruff_organize_imports", "isort"), first("ruff_format", "black")} + return { first(bufnr, "ruff_organize_imports", "isort"), first(bufnr, "ruff_format", "black")} end ''; rust = [ "rustfmt" ];