From 71e1b71a03d126aa13cefbaa764a58535c913f1b Mon Sep 17 00:00:00 2001 From: Strahinja Val Markovic Date: Fri, 12 Apr 2013 15:12:27 -0700 Subject: [PATCH] ycm_cache_omnifunc should use the user's value --- plugin/youcompleteme.vim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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.