From 070d7c2950162b1f3a46b72dee8968f94ad8cc4d Mon Sep 17 00:00:00 2001 From: Edwin Pujols Date: Sat, 21 Nov 2020 20:32:03 -0400 Subject: 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. --- runtime/autoload/man.vim | 2 -- 1 file changed, 2 deletions(-) (limited to 'runtime') diff --git a/runtime/autoload/man.vim b/runtime/autoload/man.vim index dab88fde23..5008b8cfaf 100644 --- a/runtime/autoload/man.vim +++ b/runtime/autoload/man.vim @@ -13,8 +13,6 @@ function! man#init() abort try " Check for -l support. call s:get_page(s:get_path('', 'man')) - catch /E145:/ - " Ignore the error in restricted mode catch /command error .*/ let s:localfile_arg = v:false endtry -- cgit