From ca5fe75c67470a3774590cc2c1ce551ffcd478b8 Mon Sep 17 00:00:00 2001 From: Strahinja Val Markovic Date: Mon, 14 Jan 2013 20:45:55 -0800 Subject: [PATCH] Changing the default to not add 'preview' This means that from now on, the 'preview' window will not be shown by default to users for completions. --- plugin/youcompleteme.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/youcompleteme.vim b/plugin/youcompleteme.vim index 104486e7..4be9777e 100644 --- a/plugin/youcompleteme.vim +++ b/plugin/youcompleteme.vim @@ -48,7 +48,7 @@ let g:ycm_allow_changing_updatetime = \ get( g:, 'ycm_allow_changing_updatetime', 1 ) let g:ycm_add_preview_to_completeopt = - \ get( g:, 'ycm_add_preview_to_completeopt', 1 ) + \ get( g:, 'ycm_add_preview_to_completeopt', 0 ) let g:ycm_autoclose_preview_window_after_completion = \ get( g:, 'ycm_autoclose_preview_window_after_completion', 0 )