-
-
Notifications
You must be signed in to change notification settings - Fork 253
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
fix(go): install missing goimports
#1166
Conversation
Co-authored-by: Paul Gross <[email protected]>
Review ChecklistDoes this PR follow the [Contribution Guidelines](development guidelines)? Following is a partial checklist: Proper conventional commit scoping:
|
Fixes mistake done in #1059 I think? |
Yup! |
Don't you still need to install {
"WhoIsSethDaniel/mason-tool-installer.nvim",
opts = function(_, opts)
opts.ensure_installed = require("astrocore").list_insert_unique(opts.ensure_installed, { "gofumpt" })
end,
}, |
It doesn't need to, it uses |
Hmm, I'm not sure why mine didn't work until I installed it, then. I will look into it. Thanks. |
I can take a look in a bit, but |
Just tested @pgr0ss and it works great! no |
@mehalter Do we need to add https://github.com/golang/tools/blob/master/gopls/doc/settings.md#gofumpt-bool When I added astrocommunity/lua/astrocommunity/pack/go/init.lua Lines 11 to 51 in 76f4f81
|
oh yeah maybe! I see, without it it's just running |
📑 Description
This supersedes #1162.
gopls
usesgofumpt
for formatting so we can leverage that after runninggoimports
ℹ Additional Information