Moved initialization of g:syntastic_delayed_redraws to util.vim.

This commit is contained in:
LCD 47 2013-10-30 07:21:46 +02:00
parent bcbcb7c6fb
commit e67e5998da
2 changed files with 4 additions and 6 deletions

View File

@ -10,6 +10,10 @@ if !exists("g:syntastic_debug")
let g:syntastic_debug = 0
endif
if !exists("g:syntastic_delayed_redraws")
let g:syntastic_delayed_redraws = 0
endif
let s:deprecationNoticesIssued = []
let s:redraw_delayed = 0
let s:redraw_full = 0

View File

@ -85,12 +85,6 @@ if !exists("g:syntastic_reuse_loc_lists")
let g:syntastic_reuse_loc_lists = (v:version >= 704)
endif
" XXX: Older Vim versions can crash if redraw is called while a popup is visible.
" This variable enables a workaround, by delaying redraws to an idle moment.
if !exists("g:syntastic_delayed_redraws")
let g:syntastic_delayed_redraws = 0
endif
let s:registry = g:SyntasticRegistry.Instance()
let s:notifiers = g:SyntasticNotifiers.Instance()
let s:modemap = g:SyntasticModeMap.Instance()