From 2b694bea7932ec586a6c72f1aae0aa9fcde10583 Mon Sep 17 00:00:00 2001 From: Kristofer Date: Mon, 11 Mar 2024 16:29:24 +0000 Subject: [PATCH] Update formatting.lua --- lua/lazyvim/plugins/formatting.lua | 2 ++ 1 file changed, 2 insertions(+) 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.