feat(plugins): use prettier for common files (html, css, yaml, markdown)

This commit is contained in:
Guz
2025-04-16 16:42:22 -03:00
parent f2b86fae8e
commit 91c0bad43f

View File

@@ -37,6 +37,11 @@ return {
xml = { "xmllint" }, xml = { "xmllint" },
xhtml = { "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 -- Golang's formatters used by priority
go = function(bufnr) go = function(bufnr)
local f = {} local f = {}