changeset 36176:88b53a11b505 default tip

runtime(dist): do not output a message if executable is not found Commit: https://github.com/vim/vim/commit/e6b01cfe01a2722ec55a011ae04c4c404e88f924 Author: Christian Brabandt <cb@256bit.org> Date: Fri Sep 20 22:26:56 2024 +0200 runtime(dist): do not output a message if executable is not found closes: https://github.com/vim/vim/issues/15705 Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Fri, 20 Sep 2024 22:30:07 +0200
parents c39daa6db42d
children
files runtime/autoload/dist/vim.vim runtime/autoload/dist/vim9.vim
diffstat 2 files changed, 0 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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)) &&
--- 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()