Updated runtime files.

This commit is contained in:
Bram Moolenaar
2016-05-08 09:50:29 +02:00
parent ea83bf06b9
commit 91c4937be1
12 changed files with 228 additions and 268 deletions

View File

@ -1,6 +1,6 @@
" Vim plugin for using Vim as manpager.
" Maintainer: Enno Nagel <ennonagel+vim@gmail.com>
" Last Change: 2016 Apr 30
" Last Change: 2016 May 07
" $MAN_PN is supposed to be set by MANPAGER, see ":help manpager.vim".
if empty($MAN_PN)
@ -20,10 +20,10 @@ function! s:MANPAGER()
let manpage = expand('$MAN_PN')
endif
let page_sec = matchlist( manpage, '^' . pagesec_pattern . '$')
let page_sec = matchlist(tolower(manpage), '^' . pagesec_pattern . '$')
bwipe!
setlocal filetype=man
exe 'Man' page_sec[3] page_sec[1]
exe 'Man' page_sec[1] page_sec[0]
endfunction