mirror of
https://github.com/neovim/neovim.git
synced 2024-12-29 14:41:06 -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 [sect, name, path] = s:verify_exists(sect, name)
|
||||||
let page = s:get_page(path)
|
let page = s:get_page(path)
|
||||||
catch
|
catch
|
||||||
" call to s:error() is unnecessary
|
call s:error(v:exception)
|
||||||
return
|
return
|
||||||
endtry
|
endtry
|
||||||
let b:man_sect = sect
|
let b:man_sect = sect
|
||||||
|
Loading…
Reference in New Issue
Block a user