From b1f8b8a1f0d080599220e667f0adaed1e4694058 Mon Sep 17 00:00:00 2001 From: Ahmed Abdelhalim Date: Fri, 9 Mar 2018 15:37:11 +0100 Subject: Ignore old plug file and update plug --- autoload/plug.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'autoload/plug.vim') diff --git a/autoload/plug.vim b/autoload/plug.vim index 143c377..9ebcf53 100644 --- a/autoload/plug.vim +++ b/autoload/plug.vim @@ -908,7 +908,7 @@ function! s:finish(pull) call add(msgs, "Press 'R' to retry.") endif if a:pull && len(s:update.new) < len(filter(getline(5, '$'), - \ "v:val =~ '^- ' && stridx(v:val, 'Already up-to-date') < 0")) + \ "v:val =~ '^- ' && v:val !~# 'Already up.to.date'")) call add(msgs, "Press 'D' to see the updated changes.") endif echo join(msgs, ' ') -- cgit v1.2.3