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 b5316d0e96e6b5a30c8b43dfba76a90dac5ed1be (tree)
parent e9f93be3562b6379472ca7d16c12ac082419b9f7
Author: Tim Pope <code@tpope.net>
Date:   Mon, 12 Jul 2021 15:47:13 -0400

Avoid stepping on status window in :Gclog/:Gllog

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

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

diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim @@ -801,6 +801,7 @@ function! s:QuickfixCreate(nr, opts) abort endfunction function! s:QuickfixStream(nr, event, title, cmd, first, mods, callback, ...) abort + call s:BlurStatus() let mods = s:Mods(a:mods) let opts = {'title': a:title, 'context': {'items': []}} call s:QuickfixCreate(a:nr, opts) @@ -834,7 +835,6 @@ function! s:QuickfixStream(nr, event, title, cmd, first, mods, callback, ...) ab silent exe s:DoAutocmd('QuickFixCmdPost ' . event) if a:first && len(s:QuickfixGet(a:nr)) - call s:BlurStatus() return mods . (a:nr < 0 ? 'cfirst' : 'lfirst') else return 'exe'