diff --git a/nvim/plugin/conform.lua b/nvim/plugin/conform.lua index 462abe4f..c2643665 100644 --- a/nvim/plugin/conform.lua +++ b/nvim/plugin/conform.lua @@ -4,11 +4,11 @@ conform.setup { formatters_by_ft = { bash = { "shellcheck" }, go = { "gofmt" }, - javascript = { { "prettierd", "prettier" } }, + javascript = { "prettierd", "prettier", stop_after_first = true }, just = { "just" }, lua = { "stylua" }, - nix = { { "nixfmt" } }, - php = { { "php_cs_fixer", "phpcbf" } }, + nix = { "nixfmt" }, + php = { "php_cs_fixer", "phpcbf", stop_after_first = true }, terraform = { "terraform_fmt" }, yaml = { "yamlfmt" }, },