From 91c0bad43f132d28156b0aabca0462ee9024d7ec Mon Sep 17 00:00:00 2001 From: "Gustavo \"Guz\" L de Mello" Date: Wed, 16 Apr 2025 16:42:22 -0300 Subject: [PATCH] feat(plugins): use prettier for common files (html, css, yaml, markdown) --- lua/dot013/plugins/formatting.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lua/dot013/plugins/formatting.lua b/lua/dot013/plugins/formatting.lua index c9fa8b2..9149215 100644 --- a/lua/dot013/plugins/formatting.lua +++ b/lua/dot013/plugins/formatting.lua @@ -37,6 +37,11 @@ return { xml = { "xmllint" }, xhtml = { "xmllint" }, + html = { "prettierd", "prettier", stop_after_first = true }, + css = { "prettierd", "prettier", stop_after_first = true }, + yaml = { "prettierd", "prettier", stop_after_first = true }, + markdown = { "prettierd", "prettier", stop_after_first = true }, + -- Golang's formatters used by priority go = function(bufnr) local f = {}