comparison runtime/ftplugin/man.vim @ 3082:3502a7f991fc

Updated runtime files.
author Bram Moolenaar <bram@vim.org>
date Wed, 14 Sep 2011 17:55:08 +0200
parents 916c90b37ea9
children 94601b379f38
comparison
equal deleted inserted replaced
3081:1e50bdaa24f8 3082:3502a7f991fc
1 " Vim filetype plugin file 1 " Vim filetype plugin file
2 " Language: man 2 " Language: man
3 " Maintainer: SungHyun Nam <goweol@gmail.com> 3 " Maintainer: SungHyun Nam <goweol@gmail.com>
4 " Last Change: 2010 Nov 29 4 " Last Change: 2011 Jul 25
5 5
6 " To make the ":Man" command available before editing a manual page, source 6 " To make the ":Man" command available before editing a manual page, source
7 " this script from your startup vimrc file. 7 " this script from your startup vimrc file.
8 8
9 " If 'filetype' isn't "man", we must have been called to only define ":Man". 9 " If 'filetype' isn't "man", we must have been called to only define ":Man".
15 endif 15 endif
16 let b:did_ftplugin = 1 16 let b:did_ftplugin = 1
17 17
18 " Ensure Vim is not recursively invoked (man-db does this) 18 " Ensure Vim is not recursively invoked (man-db does this)
19 " when doing ctrl-[ on a man page reference. 19 " when doing ctrl-[ on a man page reference.
20 let $MANPAGER = "" 20 if exists("$MANPAGER")
21 let $MANPAGER = ""
22 endif
21 23
22 " allow dot and dash in manual page name. 24 " allow dot and dash in manual page name.
23 setlocal iskeyword+=\.,- 25 setlocal iskeyword+=\.,-
24 26
25 " Add mappings, unless the user didn't want this. 27 " Add mappings, unless the user didn't want this.