nvim/lua/custom/plugins/none-ls.lua
2024-05-08 08:32:54 -03:00

20 lines
674 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,
require("null-ls").builtins.formatting.google_java_format,
require("null-ls").builtins.formatting.nixpkgs_fmt,
}
}
end
}