nvim/lua/custom/plugins/null-ls.lua
Lucas Barbieri 5e5ba06d3c fix require inside opts in null-ls
turns out you can't require() inside opts {}, it will error out, so just put it in config section
2023-08-04 18:41:04 -03:00

14 lines
314 B
Lua

return {
"jose-elias-alvarez/null-ls.nvim",
config = function()
require("null-ls").setup {
sources = {
require("null-ls").builtins.formatting.black.with({
extra_args = { "--line-length=80" }
}),
require("null-ls").builtins.formatting.prettierd
}
}
end
}