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:
parent
4461ad3ca4
commit
90118dde48
|
@ -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" },
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue