safe-guard against signs/balloons user settings when these features aren't available. see #113

This commit is contained in:
millermedeiros 2011-12-09 10:56:41 -02:00
parent 8ca2028f3e
commit c95cf15823

View File

@ -24,11 +24,17 @@ if !s:running_windows
endif
if !exists("g:syntastic_enable_signs")
let g:syntastic_enable_signs = has('signs')? 1 : 0
let g:syntastic_enable_signs = 1
endif
if !has('signs')
let g:syntastic_enable_signs = 0
endif
if !exists("g:syntastic_enable_balloons")
let g:syntastic_enable_balloons = has('balloon_eval')? 1 : 0
let g:syntastic_enable_balloons = 1
endif
if !has('balloon_eval')
let g:syntastic_enable_balloons = 0
endif
if !exists("g:syntastic_enable_highlighting")