Skip to content
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

Don't show window if "gogetdoc" command isn't found #1379

Merged
merged 1 commit into from
Jul 24, 2017
Merged

Don't show window if "gogetdoc" command isn't found #1379

merged 1 commit into from
Jul 24, 2017

Conversation

arp242
Copy link
Contributor

@arp242 arp242 commented Jul 24, 2017

When using :GoGetDoc without a gogetdoc binary it would still open the split
with the content -1. This fixes that.

An error message is not needed as go#path#CheckBinPath already shows that.

Related: #1346

@arp242 arp242 changed the title Show error when "gogetdoc" is missing Don't show window if "gogetdoc" command can't be found Jul 24, 2017
@arp242 arp242 changed the title Don't show window if "gogetdoc" command can't be found Don't show window if "gogetdoc" command isn't found Jul 24, 2017
When using `:GoGetDoc` without a `gogetdoc` binary it would still open the split
with the content `-1`. This fixes that.

An error message is not needed as `go#path#CheckBinPath` already shows that.

Related: #1346
@fatih fatih merged commit 64bdf04 into fatih:master Jul 24, 2017
@fatih
Copy link
Owner

fatih commented Jul 24, 2017

Thanks @Carpetsmoker 👍

@fatih fatih added the bug label Jul 24, 2017
@arp242 arp242 deleted the missing-gogetdoc branch July 24, 2017 12:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants