nvimtools / none-ls.nvim

null-ls.nvim reloaded / Use Neovim as a language server to inject LSP diagnostics, code actions, and more via Lua.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

golangci-lint fixes on save

Crocmagnon opened this issue · comments

Issues

  • I have checked existing issues and there are no existing ones with the same request.

Feature description

I see there's a golangci-lint diagnostics source that disables fixing the issues.
I tried overriding the arguments to remove the --fix=false, but it looks like the buffer isn't updated unless I trigger a re-read by e.g. changing focus from and to neovim ; which is quite annoying.

Could it be possible to have a "formatting" source that runs with fixes as well as the current diagnostics source?

Help

No

Implementation help

No response