motiejus/dotfiles

Unnamed repository; edit this file 'description' to name the repository.
git clone https://git.jakstys.lt/motiejus/dotfiles.git
Log | Tree | Refs | README | LICENSE

commit 0f9db6af704f6fcf5cd06de964deb8223e47db4c (tree)
parent 5d99841b22928f1597d447c68de844989bf9a804
Author: Tim Pope <code@tpope.net>
Date:   Tue, 21 May 2019 17:00:12 -0400

Fix garbled screen after :Git! and related commands

Closes https://github.com/tpope/vim-fugitive/issues/1258

Diffstat:
Mautoload/fugitive.vim | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim @@ -3159,6 +3159,7 @@ function! s:Open(cmd, bang, mods, arg, args) abort silent! execute '!' . escape(git . ' --no-pager ' . args, '!#%') . \ (&shell =~# 'csh' ? ' >& ' . temp : ' > ' . temp . ' 2>&1') finally + redraw! execute cdback endtry let temp = s:Resolve(temp) @@ -3168,7 +3169,7 @@ function! s:Open(cmd, bang, mods, arg, args) abort endif silent execute mods a:cmd temp call fugitive#ReloadStatus() - return 'redraw|echo ' . string(':!' . git . ' ' . args) + return 'echo ' . string(':!' . git . ' ' . args) endif let [file, pre] = s:OpenParse(a:args)