Fix signs initialization.

Signs should be initialized even if they aren't enabled at startup.
This commit is contained in:
LCD 47 2013-04-06 23:10:27 +03:00
parent ba13a3d4b5
commit 01232979aa

View File

@ -43,7 +43,7 @@ function! g:SyntasticSigner.New()
endfunction
function! g:SyntasticSigner.SetUpSignStyles()
if g:syntastic_enable_signs
if has('signs')
if !hlexists('SyntasticErrorSign')
highlight link SyntasticErrorSign error
endif