From c1f9d7cdb4998da8dc2d9beb1223aac0933596b6 Mon Sep 17 00:00:00 2001 From: Simon Weil Date: Fri, 25 Mar 2016 15:07:14 +0300 Subject: [PATCH] Reset colors for git show --- plug.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plug.vim b/plug.vim index 040cf9b..ac33837 100644 --- a/plug.vim +++ b/plug.vim @@ -2057,7 +2057,7 @@ function! s:preview_commit() execute 'pedit' sha wincmd P setlocal filetype=git buftype=nofile nobuflisted modifiable - execute 'silent read !cd' s:shellesc(g:plugs[name].dir) '&& git show --pretty=medium' sha + execute 'silent read !cd' s:shellesc(g:plugs[name].dir) '&& git show --no-color --pretty=medium' sha normal! gg"_dd setlocal nomodifiable nnoremap q :q