Browse Source

ycm_cache_omnifunc should use the user's value

Strahinja Val Markovic 12 years ago
parent
commit
71e1b71a03
1 changed files with 2 additions and 1 deletions
  1. 2 1
      plugin/youcompleteme.vim

+ 2 - 1
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.