comparison vim/autoload/plug.vim @ 207:e519bf689316

Update Vim-Plug
author zegervdv <zegervdv@me.com>
date Mon, 24 Nov 2014 21:27:45 +0100
parents 757b5e22e2ea
children 4e723feac624
comparison
equal deleted inserted replaced
206:b0d14db1857d 207:e519bf689316
631 redraw 631 redraw
632 let msgs = [] 632 let msgs = []
633 if !empty(s:update.errors) 633 if !empty(s:update.errors)
634 call add(msgs, "Press 'R' to retry.") 634 call add(msgs, "Press 'R' to retry.")
635 endif 635 endif
636 if a:pull && !empty(filter(getline(5, '$'), 636 if a:pull && len(s:update.new) < len(filter(getline(5, '$'),
637 \ "v:val =~ '^- ' && stridx(v:val, 'Already up-to-date') < 0")) 637 \ "v:val =~ '^- ' && stridx(v:val, 'Already up-to-date') < 0"))
638 call add(msgs, "Press 'D' to see the updated changes.") 638 call add(msgs, "Press 'D' to see the updated changes.")
639 endif 639 endif
640 echo join(msgs, ' ') 640 echo join(msgs, ' ')
641 endfunction 641 endfunction