2022-12-15 04:18:13 +00:00
|
|
|
local null_ls = require("null-ls")
|
|
|
|
|
|
|
|
null_ls.setup({
|
|
|
|
sources = {
|
|
|
|
null_ls.builtins.formatting.rustfmt,
|
2023-03-07 21:48:39 +00:00
|
|
|
null_ls.builtins.formatting.stylish_haskell,
|
|
|
|
null_ls.builtins.formatting.fourmolu,
|
|
|
|
null_ls.builtins.formatting.black,
|
2022-12-15 04:18:13 +00:00
|
|
|
null_ls.builtins.formatting.prettierd.with({
|
|
|
|
filetypes = { "html", "json", "yaml", "markdown" },
|
|
|
|
}),
|
|
|
|
}
|
|
|
|
})
|