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

UnBundle duplicates vim runtime path #719

Closed
mightyguava opened this issue Jan 31, 2015 · 0 comments
Closed

UnBundle duplicates vim runtime path #719

mightyguava opened this issue Jan 31, 2015 · 0 comments

Comments

@mightyguava
Copy link
Contributor

If I use UnBundle at all, my vim runtime path gets duplicated, so that when I do echom &rtp, 2 of every path shows up. This causes an issue with globpath(), where it returns 2 of the same file every time, and seems to break vim-go's snippets.

vim-go snippets has a vim-go/ftplugin/go/snippets.vim which contains the line

exec 'NeoSnippetSource' globpath(&rtp, 'gosnippets/snippets/go.snip')

So it's trying to add, for me, as a single file

"/Users/yunchi/.vim/bundle/vim-go/gosnippets/snippets/go.snip^@/Users/yunchi/.vim/bundle/vim-go/gosnippets/snippets/go.snip"

I'm not very good with vim, so have no idea where on this path is the actual bug, but I think it lies with either UnBundle which is duplicating the path? Don't really understand how that happens, but it might have to do with the vundle#config#init call. There's a relevant issue here VundleVim/Vundle.vim#539... I think

Help would be much appreciated.

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

No branches or pull requests

1 participant