From: Christian Brabandt Date: Fri, 20 Sep 2024 20:26:56 +0000 (+0200) Subject: runtime(dist): do not output a message if executable is not found X-Git-Tag: v9.1.0739~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e6b01cfe01a2722ec55a011ae04c4c404e88f924;p=thirdparty%2Fvim.git runtime(dist): do not output a message if executable is not found closes: #15705 Signed-off-by: Christian Brabandt --- diff --git a/runtime/autoload/dist/vim.vim b/runtime/autoload/dist/vim.vim index d519406530..bb858c5732 100644 --- a/runtime/autoload/dist/vim.vim +++ b/runtime/autoload/dist/vim.vim @@ -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)) && diff --git a/runtime/autoload/dist/vim9.vim b/runtime/autoload/dist/vim9.vim index 8fa9380f57..2277f24533 100644 --- a/runtime/autoload/dist/vim9.vim +++ b/runtime/autoload/dist/vim9.vim @@ -7,7 +7,6 @@ vim9script export def IsSafeExecutable(filetype: string, executable: string): bool if empty(exepath(executable)) - echomsg executable .. " not found in $PATH" return v:false endif var cwd = getcwd()