jnwhiteh/vim-golang

Error detected while processing ~/.spf13-vim-3/.vim/bundle/vim-golang/plugin/godoc.vim

wesleybowman opened this issue · 2 comments

I use vundle to install vim-golang, and I get that error when trying to update, and also everytime I use vim. Not sure what is wrong, but this is what follows:

Error detected while processing /home/wesley/.spf13-vim-3/.vim/bundle/vim-golang/plugin/godoc.vim:
line    6:
E488: Trailing characters: <<<<<<< HEAD
line    7:
E488: Trailing characters: =======
line   22:
E488: Trailing characters: >>>>>>> 43a820591b4cb3ee8fcf759940e83d105b3a5d85
line   32:
E488: Trailing characters: <<<<<<< HEAD
line   33:
E488: Trailing characters: =======
line   44:
E488: Trailing characters: >>>>>>> 43a820591b4cb3ee8fcf759940e83d105b3a5d85
line  155:
E488: Trailing characters: =======
line  156:
E121: Undefined variable: word
E116: Invalid arguments for function substitute(word, '[^a-zA-Z0-9\\/._~-]', '', 'g')
E15: Invalid expression: substitute(word, '[^a-zA-Z0-9\\/._~-]', '', 'g')
line  157:
E121: Undefined variable: word
E116: Invalid arguments for function split(word, '\.\ze[^./]\+$')
E15: Invalid expression: split(word, '\.\ze[^./]\+$')
line  158:
E581: :else without :if:   else
line  159:
E121: Undefined variable: a:000
E15: Invalid expression: a:000
line  160:
E580: :endif without :if:   endif
line  161:
E121: Undefined variable: words
E116: Invalid arguments for function len(words)
E15: Invalid expression: !len(words)
line  162:
E133: :return not inside a function
line  164:
E121: Undefined variable: words
E116: Invalid arguments for function s:GodocWord(words[0])
E15: Invalid expression: s:GodocWord(words[0])
line  167:
E133: :return not inside a function
line  171:
E133: :return not inside a function
line  176:
E193: :endfunction not inside a function
line  178:
E488: Trailing characters: >>>>>>> 43a820591b4cb3ee8fcf759940e83d105b3a5d85
Press ENTER or type command to continue

I had to rebase at one point. I would remove the directory and have Vundle reinstall it. This should only happen once.

This fixed it. Thanks!