diff --git a/autoload/syntastic/util.vim b/autoload/syntastic/util.vim index 425df2d7..10c01303 100644 --- a/autoload/syntastic/util.vim +++ b/autoload/syntastic/util.vim @@ -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 diff --git a/plugin/syntastic.vim b/plugin/syntastic.vim index ae462b81..a9d2c00c 100644 --- a/plugin/syntastic.vim +++ b/plugin/syntastic.vim @@ -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()