Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

golangci-lint fixes on save #76

Open
1 task done
Crocmagnon opened this issue Feb 19, 2024 · 0 comments
Open
1 task done

golangci-lint fixes on save #76

Crocmagnon opened this issue Feb 19, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@Crocmagnon
Copy link

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

@Crocmagnon Crocmagnon added the enhancement New feature or request label Feb 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant