mirror of
https://github.com/neovim/neovim.git
synced 2025-10-26 12:27:24 +00:00
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:
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)
|
function dist#vim#IsSafeExecutable(filetype, executable)
|
||||||
let cwd = getcwd()
|
let cwd = getcwd()
|
||||||
if empty(exepath(a:executable))
|
if empty(exepath(a:executable))
|
||||||
echomsg a:executable .. " not found in $PATH"
|
|
||||||
return v:false
|
return v:false
|
||||||
endif
|
endif
|
||||||
return get(g:, a:filetype .. '_exec', get(g:, 'plugin_exec', 0)) &&
|
return get(g:, a:filetype .. '_exec', get(g:, 'plugin_exec', 0)) &&
|
||||||
|
|||||||
Reference in New Issue
Block a user