summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--autoload/plug.vim2
2 files changed, 2 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index da236a2..bd10d6b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,3 +4,4 @@ bundle/*
undo/*
*.swp
view/
+autoload/plug.vim.old
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, ' ')