Quellcode durchsuchen

Print warning message on old Neovim (#206)

Suggested by @starcraftman.
Junegunn Choi vor 10 Jahren
Ursprung
Commit
923f3fb3d5
1 geänderte Dateien mit 6 neuen und 0 gelöschten Zeilen
  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,