diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-10-03 18:04:35 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-10-03 18:04:35 +0100 |
commit | f269eabc6c4f5bdcef989cd5b4b95ba8ccaa4d8a (patch) | |
tree | b302076deeeab8b9884a2912b364f8131ef34949 /runtime/ftplugin/man.vim | |
parent | eb47d6d20a47707d810360fd1684b21f67d5dec8 (diff) |
Update runtime files
Diffstat (limited to 'runtime/ftplugin/man.vim')
-rw-r--r-- | runtime/ftplugin/man.vim | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/runtime/ftplugin/man.vim b/runtime/ftplugin/man.vim index 0f6d36c2d2..7d59eab4c4 100644 --- a/runtime/ftplugin/man.vim +++ b/runtime/ftplugin/man.vim @@ -3,7 +3,7 @@ " Maintainer: Jason Franklin <vim@justemail.net> " Maintainer: SungHyun Nam <goweol@gmail.com> " Autoload Split: Bram Moolenaar -" Last Change: 2022 Jun 18 +" Last Change: 2022 Sep 30 " To make the ":Man" command available before editing a manual page, source " this script from your startup vimrc file. @@ -23,8 +23,9 @@ let s:cpo_save = &cpo set cpo-=C if &filetype == "man" - " allow dot and dash in manual page name. - setlocal iskeyword+=\.,- + " Allow hyphen, plus, colon, dot, and commercial at in manual page name. + " Allow parentheses for references. + setlocal iskeyword=48-57,_,a-z,A-Z,-,+,:,.,@-@,(,) let b:undo_ftplugin = "setlocal iskeyword<" " Add mappings, unless the user didn't want this. |