feat: format html, json and css with prettier

This commit is contained in:
Adrien Waksberg 2024-04-24 09:30:39 +02:00
parent 42aff76e7f
commit 26bed1f314

View file

@ -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 = {