-
Notifications
You must be signed in to change notification settings - Fork 355
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
chore: add explanations about how to use gofumpt in vim #747
Conversation
Have you seen this https://github.com/gnolang/gno/blob/master/CONTRIBUTING.md#vim-support ? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For me I just changed gofmt
to gofumpt
as I had it installed in my $PATH
😄 But this can be a good way to avoid installing it.
For what regards linting in Gno files, I haven't configured it yet. But it probably can be done in a "basic" manner with revive. It would be cool to have it with golangci-lint using the configuration of the repository and adding support for linting gno files.
Oh sorry I didn't notice this was a PR so I hadn't look at the code before submitting my answer 😅 Indeed the comment about |
This looks good to me, but I'll ask @moul to merge, as I know CONTRIBUTING is one of the "protected" files in CODEOWNERS :) |
Co-authored-by: grepsuzette <grepsuzette@users.noreply.github.com>
Co-authored-by: grepsuzette <grepsuzette@users.noreply.github.com>
How has this been tested?
It's what I have been using for a
weekmonth or two.There may be more succint ways to do this.
BTW if someone knows how to have lint enabled in vim on .gno files, let me know.