From f203cddb2242a32cc905cd3c7d025ccf1a3e0342 Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Sun, 4 Nov 2018 02:52:41 +0900 Subject: [PATCH] Shell-escape v.rtp --- plug.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plug.vim b/plug.vim index 49f1c3b..4e05630 100644 --- a/plug.vim +++ b/plug.vim @@ -2422,7 +2422,7 @@ function! s:diff() let range = origin ? '..origin/'.v.branch : 'HEAD@{1}..' 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 .= ' -- '.v.rtp + let cmd .= ' -- '.s:shellesc(v.rtp) endif let diff = s:system_chomp(cmd, v.dir) if !empty(diff)