From 5acdad8cd74163e9728702ff54c541f52336a6fe Mon Sep 17 00:00:00 2001 From: Kevin Cotugno Date: Tue, 27 Nov 2018 08:23:48 -0800 Subject: [PATCH] Bump vim-plug --- .config/nvim/autoload/plug.vim | 6 +++++- .gitignore | 1 + 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.config/nvim/autoload/plug.vim b/.config/nvim/autoload/plug.vim index db1f615..4e05630 100644 --- a/.config/nvim/autoload/plug.vim +++ b/.config/nvim/autoload/plug.vim @@ -2420,7 +2420,11 @@ function! s:diff() call s:append_ul(2, origin ? 'Pending updates:' : 'Last update:') for [k, v] in plugs let range = origin ? '..origin/'.v.branch : 'HEAD@{1}..' - let diff = s:system_chomp('git log --graph --color=never '.join(map(['--pretty=format:%x01%h%x01%d%x01%s%x01%cr', range], 's:shellesc(v:val)')), v.dir) + let cmd = 'git log --graph --color=never '.join(map(['--pretty=format:%x01%h%x01%d%x01%s%x01%cr', range], 's:shellesc(v:val)')) + if has_key(v, 'rtp') + let cmd .= ' -- '.s:shellesc(v.rtp) + endif + let diff = s:system_chomp(cmd, v.dir) if !empty(diff) let ref = has_key(v, 'tag') ? (' (tag: '.v.tag.')') : has_key(v, 'commit') ? (' '.v.commit) : '' call append(5, extend(['', '- '.k.':'.ref], map(s:lines(diff), 's:format_git_log(v:val)'))) diff --git a/.gitignore b/.gitignore index ddab518..23b5356 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ .emacs.d/elpa .emacs.d/projectile-bookmarks.eld .config/nvim/plugged +*.old