From e6b01cfe01a2722ec55a011ae04c4c404e88f924 Mon Sep 17 00:00:00 2001 From: Christian Brabandt Date: Fri, 20 Sep 2024 22:26:56 +0200 Subject: [PATCH] runtime(dist): do not output a message if executable is not found closes: #15705 Signed-off-by: Christian Brabandt --- runtime/autoload/dist/vim.vim | 1 - runtime/autoload/dist/vim9.vim | 1 - 2 files changed, 2 deletions(-) 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()