Fixes #311: errors not showing up in statusline
Fixes #311: errors not showing up in statusline

s:Errors() function loops through the location list lookin for errors
and caches the result. The function is called indirectly by
SynasticStatuslineFlag before the location list has content. This patch
ensures s:Errors only gets called if location list has content.

wezhang/vim-setup,wezhang/vim-setup,wezhang/vim-setup,wezhang/vim-setup,wezhang/vim-setup,wezhang/vim-setup,nikmartin/dotfiles