none-ls.nvim icon indicating copy to clipboard operation
none-ls.nvim copied to clipboard

golangci-lint fixes on save

Open Crocmagnon opened this issue 1 year ago • 0 comments

Issues

  • [X] 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

Crocmagnon avatar Feb 19 '24 19:02 Crocmagnon