mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 19:38:20 +00:00
runtime: Remove error handling for E145.
Restricted mode (-Z) has been removed per #11996. Some runtime files had lingering error handling (error identifier `E145`) so I cleaned them up.
This commit is contained in:
@@ -13,8 +13,6 @@ function! man#init() abort
|
|||||||
try
|
try
|
||||||
" Check for -l support.
|
" Check for -l support.
|
||||||
call s:get_page(s:get_path('', 'man'))
|
call s:get_page(s:get_path('', 'man'))
|
||||||
catch /E145:/
|
|
||||||
" Ignore the error in restricted mode
|
|
||||||
catch /command error .*/
|
catch /command error .*/
|
||||||
let s:localfile_arg = v:false
|
let s:localfile_arg = v:false
|
||||||
endtry
|
endtry
|
||||||
|
Reference in New Issue
Block a user