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

Fix GoDeclsDir for ctrlp on a directory other than '.' #1878

Merged
merged 1 commit into from
Jul 10, 2018

Conversation

sorribas
Copy link
Contributor

@sorribas sorribas commented Jul 9, 2018

If you run GoDeclsDir ./some/package with vim-go using CtrlP, it show the list of declarations in the package, but when you hit enter on one of them, it just opens a new buffer with the name of the file containing the selected symbol, but it doesn't correctly open the existing file. This fixes that issue.

@bhcleek
Copy link
Collaborator

bhcleek commented Jul 10, 2018

Thank you for the contribution @sorribas

LGTM

@bhcleek bhcleek merged commit dc52bcc into fatih:master Jul 10, 2018
bhcleek added a commit that referenced this pull request Jul 10, 2018
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.

None yet

2 participants