feat: format html, json and css with prettier
This commit is contained in:
parent
42aff76e7f
commit
26bed1f314
1 changed files with 6 additions and 3 deletions
|
@ -1,10 +1,13 @@
|
|||
local options = {
|
||||
formatters_by_ft = {
|
||||
lua = { "stylua" },
|
||||
bash = { "shfmt" },
|
||||
sh = { "shfmt" },
|
||||
css = { "prettier" },
|
||||
json = { "prettier" },
|
||||
html = { "prettier" },
|
||||
lua = { "stylua" },
|
||||
markdown = { "prettier" },
|
||||
yaml = { "yamlfmt" },
|
||||
sh = { "shfmt" },
|
||||
yaml = { "prettier" },
|
||||
},
|
||||
|
||||
format_on_save = {
|
||||
|
|
Loading…
Reference in a new issue