diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2016-08-04 23:22:51 -0400 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2016-08-04 23:52:52 -0400 |
commit | 66ceb5a487eff0b856142b41ce0a95d3b1ea85e5 (patch) | |
tree | e5901ccb3b487097882c4293312a825c8fbd305d /runtime/autoload | |
parent | 42e9606c23eab6542678d2786e7e5819fd704e92 (diff) | |
download | rneovim-66ceb5a487eff0b856142b41ce0a95d3b1ea85e5.tar.gz rneovim-66ceb5a487eff0b856142b41ce0a95d3b1ea85e5.tar.bz2 rneovim-66ceb5a487eff0b856142b41ce0a95d3b1ea85e5.zip |
man.vim: doc, UX tweaks
s:error: Convention is to highlight the entire message, so stick to that.
Diffstat (limited to 'runtime/autoload')
-rw-r--r-- | runtime/autoload/man.vim | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/runtime/autoload/man.vim b/runtime/autoload/man.vim index 6f50cce9dc..79931b61b1 100644 --- a/runtime/autoload/man.vim +++ b/runtime/autoload/man.vim @@ -27,7 +27,7 @@ function! man#open_page_command(...) abort call s:error('too many arguments') return elseif a:0 ==# 0 - call s:error('what manual page do you want?') + call s:error('missing argument') return elseif a:0 ==# 1 let ref = a:000[0] @@ -221,9 +221,8 @@ endfunction function! s:error(msg) abort redraw - echon 'man.vim: ' echohl ErrorMsg - echon a:msg + echon 'man.vim: ' a:msg echohl None endfunction |