-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
GoImport broken when adding to empty imports. #1534
Comments
Thank you for taking the time to report this. It looks to be a bug in goimports, though. |
@bhcleek |
You're right, of course. |
This is a very rare use case in my opinion. Not sure why one would want to write an empty import statement and then later import something? Or do I miss something here? I know it's not related, but tools like |
This if fixed now in master, will be part of the upcoming release. |
What did you do?
Execute:
:GoImport time
What did you expect to happen?
What happened instead?
Configuration
go version
): 1.9vimrc
you used to reproduce:The text was updated successfully, but these errors were encountered: