diff --git a/autoload/youcompleteme.vim b/autoload/youcompleteme.vim index 2282944f..404b493a 100644 --- a/autoload/youcompleteme.vim +++ b/autoload/youcompleteme.vim @@ -176,6 +176,10 @@ endfunction function! s:TweakSyntasticOptions() call s:ForceCFamilyFiletypesSyntasticPassiveMode() call s:ForceSyntasticCFamilyChecker() + + " We set this to work around segfaults in old versions of Vim + " See here for details: https://github.com/scrooloose/syntastic/issues/834 + let g:syntastic_delayed_redraws = 1 endfunction