vim-patch:e6b01cf: runtime(dist): do not output a message if executable is not found (#30451)

closes: vim/vim#15705

e6b01cfe01

Co-authored-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
zeertzjq
2024-09-21 20:16:28 +08:00
committed by GitHub
parent d8cd15e8d6
commit 881a58787d

View File

@ -19,7 +19,6 @@ if !has('vim9script')
function dist#vim#IsSafeExecutable(filetype, executable)
let cwd = getcwd()
if empty(exepath(a:executable))
echomsg a:executable .. " not found in $PATH"
return v:false
endif
return get(g:, a:filetype .. '_exec', get(g:, 'plugin_exec', 0)) &&