mirror of
https://github.com/tpope/vim-fugitive.git
synced 2025-12-10 05:51:58 +08:00
Tweak Vim 7 more prompt behavior
This commit is contained in:
@@ -3596,7 +3596,7 @@ function! fugitive#Command(line1, line2, range, bang, mods, arg) abort
|
|||||||
let output = substitute(s:SystemError(cmd)[0], "\n$", '', '')
|
let output = substitute(s:SystemError(cmd)[0], "\n$", '', '')
|
||||||
if len(output)
|
if len(output)
|
||||||
try
|
try
|
||||||
if &more
|
if &more && no_pager
|
||||||
let more = 1
|
let more = 1
|
||||||
set nomore
|
set nomore
|
||||||
endif
|
endif
|
||||||
|
|||||||
Reference in New Issue
Block a user