From fe0ff38cd9539cc919717893f53485ef0c85d8ae Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Mon, 4 Jan 2016 02:06:50 +0900 Subject: [PATCH] Update YCM instruction on README Close #372 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 7f760b9..264ecd6 100644 --- a/README.md +++ b/README.md @@ -170,7 +170,7 @@ Plug 'junegunn/vader.vim', { 'on': 'Vader', 'for': 'vader' } " Code to execute when the plugin is loaded on demand Plug 'Valloric/YouCompleteMe', { 'for': 'cpp' } -autocmd! User YouCompleteMe call youcompleteme#Enable() +autocmd! User YouCompleteMe if !has('vim_starting') | call youcompleteme#Enable() | endif ``` `for` option is generally not needed as most plugins for specific file types