nvim/lua/custom/plugins/none-ls.lua
2024-08-30 00:25:01 -03:00

18 lines
547 B
Lua

return {
"nvimtools/none-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,
require("null-ls").builtins.formatting.gofumpt,
require("null-ls").builtins.formatting.goimports_reviser,
require("null-ls").builtins.formatting.golines,
require("null-ls").builtins.diagnostics.golangci_lint,
}
}
end
}