From 85d034f3e0c0a0944eb4d5866ab124c2a9462ce4 Mon Sep 17 00:00:00 2001 From: Strahinja Val Markovic Date: Tue, 4 Sep 2012 19:24:37 -0700 Subject: [PATCH] Adding more filetypes to ignore by default --- plugin/youcompleteme.vim | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/plugin/youcompleteme.vim b/plugin/youcompleteme.vim index 7192dbc8..104486e7 100644 --- a/plugin/youcompleteme.vim +++ b/plugin/youcompleteme.vim @@ -35,7 +35,11 @@ let g:ycm_min_num_of_chars_for_completion = \ get( g:, 'ycm_min_num_of_chars_for_completion', 2 ) let g:ycm_filetypes_to_completely_ignore = - \ get( g:, 'ycm_filetypes_to_completely_ignore', { 'notes' : 1 } ) + \ get( g:, 'ycm_filetypes_to_completely_ignore', { + \ 'notes' : 1, + \ 'markdown' : 1, + \ 'text' : 1, + \} ) let g:ycm_filetype_specific_completion_to_disable = \ get( g:, 'ycm_filetype_specific_completion_to_disable', {} )