change haskell formatter to fourmolu

This commit is contained in:
Youwen Wu 2024-05-10 00:58:55 -07:00
parent ebbb48468d
commit 1dd03db7fc
Signed by: youwen5
GPG key ID: 865658ED1FE61EC3

View file

@ -10,33 +10,33 @@ return {
dependencies = { 'nvim-treesitter/nvim-treesitter' },
ft = { 'html', 'svelte', 'astro', 'vue', 'typescriptreact', 'php', 'blade' },
},
{
"stevearc/conform.nvim",
optional = true,
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" },
["toml"] = {"taplo"},
["tex"] = {"latexindent"},
["haskell"] = {"ormolu"},
["nix"] = {"nixpkgs-fmt"},
["lua"] = {"stylua"},
{
"stevearc/conform.nvim",
optional = true,
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" },
["toml"] = {"taplo"},
["tex"] = {"latexindent"},
["haskell"] = {"fourmolu"},
["nix"] = {"nixpkgs-fmt"},
["lua"] = {"stylua"},
},
},
},
}
}
}