소스 검색

Print warning message on old Neovim (#206)

Suggested by @starcraftman.
Junegunn Choi 10 년 전
부모
커밋
923f3fb3d5
1개의 변경된 파일6개의 추가작업 그리고 0개의 파일을 삭제
  1. 6 0
      plug.vim

+ 6 - 0
plug.vim

@@ -740,6 +740,12 @@ function! s:update_impl(pull, force, args) abort
     endtry
   endif
 
+  if has('nvim') && !exists('*jobwait') && threads > 1
+    echohl WarningMsg
+    echomsg 'vim-plug: update Neovim for parallel installer'
+    echohl None
+  endif
+
   let s:update = {
     \ 'start':   reltime(),
     \ 'all':     todo,