Add extras.

This commit is contained in:
Sebastian Bugge 2024-01-27 17:05:44 +01:00
parent 9717d7d4f1
commit 6db07f2f3f
Signed by: kaholaz
GPG key ID: 2EFFEDEE03519691
2 changed files with 7 additions and 32 deletions

View file

@ -1,31 +0,0 @@
return {
{
"williamboman/mason.nvim",
opts = function(_, opts)
table.insert(opts.ensure_installed, "prettier")
end,
},
{
"stevearc/conform.nvim",
opts = {
formatters_by_ft = {
["javascript"] = { "prettier" },
["javascriptreact"] = { "prettier" },
["typescript"] = { "prettier" },
["typescriptreact"] = { "prettier" },
["vue"] = { "prettier" },
["css"] = { "prettier" },
["scss"] = { "prettier" },
["less"] = { "prettier" },
["html"] = { "prettier" },
["json"] = { "prettier" },
["jsonc"] = { "prettier" },
["yaml"] = { "prettier" },
["markdown"] = { "prettier" },
["markdown.mdx"] = { "prettier" },
["graphql"] = { "prettier" },
["handlebars"] = { "prettier" },
},
},
},
}