diff --git a/plugin/youcompleteme.vim b/plugin/youcompleteme.vim index b6c27cab..2da7d75d 100644 --- a/plugin/youcompleteme.vim +++ b/plugin/youcompleteme.vim @@ -133,7 +133,8 @@ let g:ycm_semantic_triggers = \ 'erlang' : [':'], \ } ) -let g:ycm_cache_omnifunc = 1 +let g:ycm_cache_omnifunc = + \ get( g:, 'ycm_cache_omnifunc', 1 ) " On-demand loading. Let's use the autoload folder and not slow down vim's " startup procedure.