-
-
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
Gofmt fails to find dependencies in the vendor directory #902
Comments
Hi @zachgersh
let g:go_fmt_command = "goimports" |
Yessir! Works fine in 1.6 so there was some sort of regression. I could try to do a git-bisect to find the commit.
|
This is now fixed in master. Thanks for the feedback @zachgersh. I've renamed some of the variables to prevent a regression like this again. |
Actual behavior
I attempt to auto import
gopkg.in/yaml.v2
and instead I get nothing. Rolling back to v1.6 fixes the issue completely.Expected behavior
gofmt
auto imports the file like beforeSteps to reproduce:
Please create a reproducible case of your problem. Re produce it
with a minimal
vimrc
with all plugins disabled and onlyvim-go
enabled:
Configuration
Add here your current configuration and additional information that might be
useful, such as:
The text was updated successfully, but these errors were encountered: