nvim/lua/custom/plugins/none-ls.lua

18 lines
547 B
Lua
Raw Normal View History

return {
2024-02-10 10:28:00 -03:00
"nvimtools/none-ls.nvim",
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,
}
}
end
}