Explorar o código

Update YCM instruction on README

Close #372
Junegunn Choi %!s(int64=10) %!d(string=hai) anos
pai
achega
fe0ff38cd9
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      README.md

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