comparison src/testdir/test_normal.vim @ 18730:2faf6c331cb8 v8.1.2355

patch 8.1.2355: test with "man" fails on FreeBSD Commit: https://github.com/vim/vim/commit/c7d2a57b3a076f6ecb16f93c0b09280c4b3b4175 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Nov 28 21:16:06 2019 +0100 patch 8.1.2355: test with "man" fails on FreeBSD Problem: Test with "man" fails on FreeBSD. Solution: Use "-P" instead of "--pager".
author Bram Moolenaar <Bram@vim.org>
date Thu, 28 Nov 2019 21:30:04 +0100
parents 709c6b0dc78f
children 97d534e17874
comparison
equal deleted inserted replaced
18729:a2e7ec180f8b 18730:2faf6c331cb8
1202 let &keywordprg = k 1202 let &keywordprg = k
1203 bw! 1203 bw!
1204 return 1204 return
1205 endif 1205 endif
1206 1206
1207 if has('mac') 1207 if has('mac') || has('bsd')
1208 " In MacOS, the option for specifying a pager is different 1208 " In MacOS and BSD, the option for specifying a pager is different
1209 set keywordprg=man\ -P\ cat 1209 set keywordprg=man\ -P\ cat
1210 else 1210 else
1211 set keywordprg=man\ --pager=cat 1211 set keywordprg=man\ --pager=cat
1212 endif 1212 endif
1213 " Test for using man 1213 " Test for using man