2023-02-14 17:48:36 +01:00
|
|
|
return {
|
|
|
|
"jose-elias-alvarez/null-ls.nvim",
|
|
|
|
event = "BufReadPre",
|
|
|
|
dependencies = { "mason.nvim" },
|
|
|
|
opts = function()
|
|
|
|
local nls = require("null-ls")
|
|
|
|
return {
|
|
|
|
sources = {
|
|
|
|
nls.builtins.formatting.terraform_fmt,
|
2023-03-02 21:26:03 +01:00
|
|
|
--nls.builtins.formatting.rustfmt,
|
2023-02-14 17:48:36 +01:00
|
|
|
nls.builtins.formatting.yamlfmt,
|
|
|
|
nls.builtins.formatting.deno_fmt.with({
|
|
|
|
filetypes = { "markdown" }
|
|
|
|
}),
|
|
|
|
},
|
|
|
|
}
|
|
|
|
end,
|
|
|
|
}
|