2023-08-01 20:43:02 -03:00
|
|
|
return {
|
2024-02-10 10:28:00 -03:00
|
|
|
"nvimtools/none-ls.nvim",
|
2023-08-04 18:41:04 -03:00
|
|
|
config = function()
|
|
|
|
require("null-ls").setup {
|
|
|
|
sources = {
|
|
|
|
require("null-ls").builtins.formatting.black.with({
|
|
|
|
extra_args = { "--line-length=80" }
|
|
|
|
}),
|
2024-01-02 16:41:51 -03:00
|
|
|
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,
|
2024-02-10 10:28:00 -03:00
|
|
|
require("null-ls").builtins.diagnostics.golangci_lint,
|
2023-08-04 18:41:04 -03:00
|
|
|
}
|
2023-08-01 20:43:02 -03:00
|
|
|
}
|
2023-08-04 18:41:04 -03:00
|
|
|
end
|
2023-08-01 20:43:02 -03:00
|
|
|
}
|