From f46bc7335e878996f53d6dad5554cea6c958e3d4 Mon Sep 17 00:00:00 2001 From: Strahinja Val Markovic Date: Tue, 29 Oct 2013 11:33:08 -0700 Subject: [PATCH] Setting Syntastic option to work around a vim bug See https://github.com/scrooloose/syntastic/issues/834 for details. --- autoload/youcompleteme.vim | 3 +++ 1 file changed, 3 insertions(+) diff --git a/autoload/youcompleteme.vim b/autoload/youcompleteme.vim index 4aa6feab..61bf011b 100644 --- a/autoload/youcompleteme.vim +++ b/autoload/youcompleteme.vim @@ -72,6 +72,9 @@ function! youcompleteme#Enable() if g:ycm_register_as_syntastic_checker 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 endif if g:ycm_allow_changing_updatetime