1
0
forked from aniani/vim

patch 8.1.2355: test with "man" fails on FreeBSD

Problem:    Test with "man" fails on FreeBSD.
Solution:   Use "-P" instead of "--pager".
This commit is contained in:
Bram Moolenaar 2019-11-28 21:16:06 +01:00
parent 31ff2e1b43
commit c7d2a57b3a
2 changed files with 4 additions and 2 deletions

View File

@ -1204,8 +1204,8 @@ func Test_normal23_K()
return
endif
if has('mac')
" In MacOS, the option for specifying a pager is different
if has('mac') || has('bsd')
" In MacOS and BSD, the option for specifying a pager is different
set keywordprg=man\ -P\ cat
else
set keywordprg=man\ --pager=cat

View File

@ -737,6 +737,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
2355,
/**/
2354,
/**/