diff options
author | Anmol Sethi <nhooyr@users.noreply.github.com> | 2017-03-25 17:43:25 -0400 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2017-03-25 22:43:25 +0100 |
commit | a346cb1d5893664c9ea331d3c75eca0bb0a4e511 (patch) | |
tree | 152c1edb2737fde55095e54c035163302d847f21 | |
parent | 098e91400eb06d29c31264ba973ea8a563703059 (diff) | |
download | rneovim-a346cb1d5893664c9ea331d3c75eca0bb0a4e511.tar.gz rneovim-a346cb1d5893664c9ea331d3c75eca0bb0a4e511.tar.bz2 rneovim-a346cb1d5893664c9ea331d3c75eca0bb0a4e511.zip |
man.vim: call s:error in man#read_page (#6362)
The comment is incorrect, s:error does need to be called. I thought the
call was unnecessary because it didn't show any message for me but I had
shortmess+=F which was hiding the message.
-rw-r--r-- | runtime/autoload/man.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/autoload/man.vim b/runtime/autoload/man.vim index 4352a8c782..96f03e47cc 100644 --- a/runtime/autoload/man.vim +++ b/runtime/autoload/man.vim @@ -79,7 +79,7 @@ function! man#read_page(ref) abort let [sect, name, path] = s:verify_exists(sect, name) let page = s:get_page(path) catch - " call to s:error() is unnecessary + call s:error(v:exception) return endtry let b:man_sect = sect |