Would you be open to the ability to configure all the formatters and linters via setup()? It could be done like this:
require('guard').setup({
ft = {
go = {
fmt = {
{ cmd = 'gofmt', stdin = true },
},
},
py = {
lint = { 'pylint' }
},
},
})
This would allow for a declarative configuration using lazy.nvim's opts = {} option.
Would you be open to the ability to configure all the formatters and linters via
setup()? It could be done like this:This would allow for a declarative configuration using
lazy.nvim'sopts = {}option.