summaryrefslogtreecommitdiffstats
path: root/runtime/ftplugin
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-05-01 16:07:38 +0200
committerBram Moolenaar <Bram@vim.org>2020-05-01 16:07:38 +0200
commit7ceefb35c8110d87ced884275ddbe63d024a014f (patch)
tree5b2021cf7bea4273386b3a3a541211dac6a2f7b1 /runtime/ftplugin
parentb84a381c75e50ca0e0a24cc3e152d0c70f8c2c7d (diff)
Update runtime files
Diffstat (limited to 'runtime/ftplugin')
-rw-r--r--runtime/ftplugin/man.vim7
1 files changed, 4 insertions, 3 deletions
diff --git a/runtime/ftplugin/man.vim b/runtime/ftplugin/man.vim
index f627035eb2..ec290ab1ee 100644
--- a/runtime/ftplugin/man.vim
+++ b/runtime/ftplugin/man.vim
@@ -1,7 +1,8 @@
" Vim filetype plugin file
" Language: man
-" Maintainer: SungHyun Nam <goweol@gmail.com>
-" Last Change: 2020 Apr 13
+" Maintainer: Jason Franklin <vim@justemail.net>
+" Previous Maintainer: SungHyun Nam <goweol@gmail.com>
+" Last Change: 2020 Apr 30
" To make the ":Man" command available before editing a manual page, source
" this script from your startup vimrc file.
@@ -205,7 +206,7 @@ func <SID>GetPage(cmdmods, ...)
endif
let env_cmd = s:env_has_u ? 'env -u MANPAGER' : 'env MANPAGER=cat'
let env_cmd .= ' GROFF_NO_SGR=1'
- let man_cmd = env_cmd . ' man ' . s:GetCmdArg(sect, page) . ' | col -b'
+ let man_cmd = env_cmd . ' man ' . s:GetCmdArg(sect, page) . ' 2>/dev/null | col -b'
silent exec "r !" . man_cmd
if unsetwidth