feat(plugins): use prettier for common files (html, css, yaml, markdown)
This commit is contained in:
@@ -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 = {}
|
||||||
|
|||||||
Reference in New Issue
Block a user