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" ];