summaryrefslogtreecommitdiffstats
path: root/autoload/plug.vim
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2018-03-09 15:37:11 +0100
committerAhmed Abdelhalim <[email protected]>2018-03-09 15:37:11 +0100
commitb1f8b8a1f0d080599220e667f0adaed1e4694058 (patch)
treed421989c56d42bcf16895e29e682d76eb6087d46 /autoload/plug.vim
parentacd45cfb207bd702bc0d9e3df2e56c2b5b3d2e05 (diff)
Ignore old plug file and update plug
Diffstat (limited to 'autoload/plug.vim')
-rw-r--r--autoload/plug.vim2
1 files changed, 1 insertions, 1 deletions
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, ' ')