mirror of
https://github.com/vim/vim.git
synced 2025-10-17 07:44:28 -04:00
runtime(dist): do not output a message if executable is not found
closes: #15705 Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
1
runtime/autoload/dist/vim.vim
vendored
1
runtime/autoload/dist/vim.vim
vendored
@@ -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)) &&
|
||||
|
Reference in New Issue
Block a user