juneedahamed/vc.vim

Fix exception on parsing empty lines

Closed this issue · 1 comments

When I run VCStatus in my project, I get no output at all. I could fix this by checking tokens for length 0 in vc#svn#summary:
if len(tokens) == 0 || len(matchstr(tokens[len(tokens)-1], g:p_ign_fpat)) != 0 | cont | en

Just committed the change