vim-hoogle icon indicating copy to clipboard operation
vim-hoogle copied to clipboard

Error loading plugin due to DOS formatting (^M problem)

Open agustinmista opened this issue 9 years ago • 0 comments

When using Vundle to install vim-hoogle on Linux I've got this error:

Error detected while processing /home/my_name/.vim/bundle/Hoogle/plugin/hoogle.vim: line 14: E15: Invalid expression: exists("g:__HOOGLE_VIM__")^M line 108: E171: Missing :endif

and if I delete the trailing ^M, the error appears at the next line.

An easy workaround is to open hoogle.vim, do :set fileformat=unix and then save it back.

Awesome plugin! :+1:

agustinmista avatar Oct 03 '16 23:10 agustinmista