Moved initialization of g:syntastic_delayed_redraws to util.vim.
This commit is contained in:
parent
bcbcb7c6fb
commit
e67e5998da
@ -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
|
||||
|
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user