mirror of
https://github.com/tpope/vim-fugitive.git
synced 2025-11-08 03:23:46 -05:00
Filter out bold/underline typesetting in man output
Resolves: https://github.com/tpope/vim-fugitive/issues/2300
This commit is contained in:
@@ -3925,6 +3925,9 @@ function! fugitive#Command(line1, line2, range, bang, mods, arg, ...) abort
|
||||
\ 'GIT_SEQUENCE_EDITOR': editor,
|
||||
\ 'GIT_PAGER': 'cat',
|
||||
\ 'PAGER': 'cat'}, 'keep')
|
||||
if s:executable('col')
|
||||
let env.MANPAGER = 'col -b'
|
||||
endif
|
||||
if len($GPG_TTY) && !has_key(env, 'GPG_TTY')
|
||||
let env.GPG_TTY = ''
|
||||
let did_override_gpg_tty = 1
|
||||
|
||||
Reference in New Issue
Block a user