xolox / vim-easytags

Automated tag file generation and syntax highlighting of tags in Vim
http://peterodding.com/code/vim/easytags/
1.01k stars 109 forks source link

Missing endif #69

Closed armw4 closed 9 years ago

armw4 commented 10 years ago

I receive the following error on OS X when running vim with logging enabled:

vim -V9VimLog

Error detected while processing function xolox#easytags#initialize..xolox#easytags#check_ctags_compatible..xolox#misc#msg#debug:
line   14:
E171: Missing :endif
Error detected while processing function xolox#easytags#initialize:
line   34:
E171: Missing :endif
Error detected while processing /Users/axw2/.spf13-vim-3/.vim/bundle/vim-easytags/plugin/easytags.vim:
line   66:
E171: Missing :endif

screen shot 2013-10-17 at 1 35 28 pm

blueyed commented 9 years ago

The error happens during initializing easytags and when it tries to show a debug message.

The root cause is that fugitive#statusline is not defined/available and that might be caused by an invalid setting for your vim statusline etc.

It looks like vim-misc might/should handle this better, but it might do so already (since your issue is rather old).

Could you find a solution / fix for it already?

armw4 commented 9 years ago

@blueyed I'll take a stab at reproducing this guy. Thanks sir.

xolox commented 9 years ago

I believe this issue is now fixed. The fix is a bit brute force, but I don't see the change causing any other issues, so this will do just fine. Thanks for the feedback and happy Vimming!

armw4 commented 9 years ago

@xolox sorry for the late reply, but thanks for working on this.