Fix conform error

> Error detected while processing BufWritePre Autocommands for "*":
> The nested {} syntax to run the first formatter has been replaced by
the stop_after_first option (see :help conform.format).
This commit is contained in:
Oliver Davies 2025-01-30 17:46:11 +00:00
parent 4461ad3ca4
commit 90118dde48

View file

@ -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" },
},