Skip to content

Commit

Permalink
Merge pull request #402 from vim-denops/imp-checkhealth
Browse files Browse the repository at this point in the history
👍 Check `deno` executable and show executable path in `checkhealth`
  • Loading branch information
lambdalisue authored Aug 6, 2024
2 parents fcc579b + 744b7a7 commit f5bcc4f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion autoload/health/denops.vim
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,9 @@ endfunction
function! s:check_deno_version(supported_version) abort
const l:deno_version = s:get_deno_version(g:denops#deno)
call s:report_info(printf(
\ 'Detected Deno version: `%s`',
\ 'Detected Deno version: `%s` (%s)',
\ l:deno_version,
\ exepath(g:denops#deno),
\))
if empty(l:deno_version)
call s:report_error('Unable to detect version of deno, make sure your deno runtime is correct.')
Expand Down Expand Up @@ -164,6 +165,7 @@ function! health#denops#check() abort
\ 'Supported Neovim version: `%s`',
\ l:supported_versions.neovim,
\))
call s:check_deno_executable()
call s:check_deno_version(l:supported_versions.deno)
if !has('nvim')
call s:check_vim_version(l:supported_versions.vim)
Expand Down

0 comments on commit f5bcc4f

Please sign in to comment.