You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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.
The text was updated successfully, but these errors were encountered:
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 withglobpath()
, where it returns 2 of the same file every time, and seems to breakvim-go
's snippets.vim-go
snippets has avim-go/ftplugin/go/snippets.vim
which contains the lineexec '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 thevundle#config#init
call. There's a relevant issue here VundleVim/Vundle.vim#539... I thinkHelp would be much appreciated.
The text was updated successfully, but these errors were encountered: