Skip to content

Commit

Permalink
runtime(dist): do not output a message if executable is not found
Browse files Browse the repository at this point in the history
closes: vim#15705

Signed-off-by: Christian Brabandt <[email protected]>
  • Loading branch information
chrisbra committed Sep 20, 2024
1 parent fdcb082 commit e6b01cf
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion runtime/autoload/dist/vim.vim
Original file line number Diff line number Diff line change
Expand Up @@ -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)) &&
Expand Down
1 change: 0 additions & 1 deletion runtime/autoload/dist/vim9.vim
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit e6b01cf

Please sign in to comment.