diff --git a/lua/lazyvim/plugins/formatting.lua b/lua/lazyvim/plugins/formatting.lua index eb2dd1a8..05c7fa04 100644 --- a/lua/lazyvim/plugins/formatting.lua +++ b/lua/lazyvim/plugins/formatting.lua @@ -90,6 +90,8 @@ return { lua = { "stylua" }, fish = { "fish_indent" }, sh = { "shfmt" }, + -- yamlls doesn't respect your prettier config + yaml = { { "prettierd", "prettier", "yamlfix" } }, }, -- The options you set here will be merged with the builtin formatters. -- You can also define any custom formatters here.