Skip to content

golangci-lint fixes on save #76

Open
@Crocmagnon

Description

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions