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

Issue 1396 go#def#tab fails if file is already open #1400

Merged
merged 1 commit into from
Aug 8, 2017
Merged

Issue 1396 go#def#tab fails if file is already open #1400

merged 1 commit into from
Aug 8, 2017

Conversation

cfsalguero
Copy link

Setting switchbuf=usetab only is not enough since switchbuf only works for buffer related commands.
If mode is tab, I made it to use sbuf as cmd, instead of edit since edit will ignore the value of switbuf

Setting switchbuf=usetab only is not enough since switchbuf only works
for buffer related commands.
If mode is tab, I made it to use sbuf as cmd, instead of edit since edit
will ignore the value of switbuf
@arp242
Copy link
Contributor

arp242 commented Aug 5, 2017

I've also noticed that this is broken, but haven't looked into a fix yet. This seems to work well in my testing.

👍

@fatih fatih merged commit a0ecfab into fatih:master Aug 8, 2017
@fatih
Copy link
Owner

fatih commented Aug 8, 2017

Thanks for the fix!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants