aboutsummaryrefslogtreecommitdiff
path: root/runtime/ftplugin/man.vim
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2015-01-23 20:03:05 -0500
committerJustin M. Keyes <justinkz@gmail.com>2015-09-23 00:05:33 -0400
commit998d0ffc09d5c7358db62dc88c2e2b87622f60b5 (patch)
tree468730ac462d4990fd8a26e696c0290841f45177 /runtime/ftplugin/man.vim
parent481049e0c91995dd48b7cc10f8fbb157258a5e26 (diff)
downloadrneovim-998d0ffc09d5c7358db62dc88c2e2b87622f60b5.tar.gz
rneovim-998d0ffc09d5c7358db62dc88c2e2b87622f60b5.tar.bz2
rneovim-998d0ffc09d5c7358db62dc88c2e2b87622f60b5.zip
'keywordprg': support ex commands
- new feature: if the first character of 'keywordprg' is ":", the command is invoked as a Vim ex-command prefixed with [count]. - change default 'keywordprg' to :Man
Diffstat (limited to 'runtime/ftplugin/man.vim')
-rw-r--r--runtime/ftplugin/man.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/ftplugin/man.vim b/runtime/ftplugin/man.vim
index 11b2b0a665..e907220d0a 100644
--- a/runtime/ftplugin/man.vim
+++ b/runtime/ftplugin/man.vim
@@ -120,7 +120,7 @@ func <SID>GetPage(...)
let sect = ""
endif
if s:FindPage(sect, page) == 0
- echo "\nCannot find a '".page."'."
+ echo "\nNo manual entry for '".page."'."
return
endif
exec "let s:man_tag_buf_".s:man_tag_depth." = ".bufnr("%")