-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
golang auto import fail #5980
Comments
Could you post the log when running in verbose mode ( |
hx --health go |
it is very easy to duplicate .
|
Are you looking for the import to happen when using auto-complete of |
yes, this is the same issue. |
In that case I am closing this as a duplicate of #1565 |
In case anyone else comes across this, a quick solution to get auto imports with go in helix is this https://bminde.com/2022/08/27/til-helix-editor.html |
Summary
I add below configure, did not help either
[[language]]
name = "go"
config = { goimports = true, gofumpt = true, staticcheck = true, analyses = { unusedparams = true, unreachable = true } }
Reproduction Steps
I tried this:
hx
I expected this to happen:
Instead, this happened:
Helix log
~/.cache/helix/helix.log
Platform
macos
Terminal Emulator
iterm2
Helix Version
22.12
The text was updated successfully, but these errors were encountered: