Filter out bold/underline typesetting in man output

Resolves: https://github.com/tpope/vim-fugitive/issues/2300
This commit is contained in:
Tim Pope
2024-05-17 13:14:29 -04:00
parent 110e7ca00c
commit 10fb874d7e

View File

@@ -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