mirror of
https://github.com/neovim/neovim.git
synced 2024-12-20 11:15:14 -07:00
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.
This commit is contained in:
parent
098e91400e
commit
a346cb1d58
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user