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 174fd6a39b7e162ca707c87582d1b7979fba95f4 (tree)
parent 6ad15506ccec939b75c79cf5fc177efe6b730c62
Author: Tim Pope <code@tpope.net>
Date:   Wed, 27 Oct 2021 03:16:01 -0400

Revert "Use :redrawstatus rather than &ro = &ro"

Turns out :redrawstatus is a lot more aggressive and can prevent seeing
Fugitive output.

This reverts commit 6ad15506ccec939b75c79cf5fc177efe6b730c62.

References: https://github.com/tpope/vim-fugitive/issues/1180

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

diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim @@ -4122,7 +4122,8 @@ function! s:DoAutocmdChanged(dir) abort exe s:DoAutocmd('User FugitiveChanged') finally unlet! g:fugitive_event g:fugitive_result - redrawstatus + " Force statusline reload with the buffer's Git dir + let &l:ro = &l:ro endtry return '' endfunction