Skip to content

Commit f5bcc4f

Browse files
authored
Merge pull request #402 from vim-denops/imp-checkhealth
👍 Check `deno` executable and show executable path in `checkhealth`
2 parents fcc579b + 744b7a7 commit f5bcc4f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

autoload/health/denops.vim

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,9 @@ endfunction
5151
function! s:check_deno_version(supported_version) abort
5252
const l:deno_version = s:get_deno_version(g:denops#deno)
5353
call s:report_info(printf(
54-
\ 'Detected Deno version: `%s`',
54+
\ 'Detected Deno version: `%s` (%s)',
5555
\ l:deno_version,
56+
\ exepath(g:denops#deno),
5657
\))
5758
if empty(l:deno_version)
5859
call s:report_error('Unable to detect version of deno, make sure your deno runtime is correct.')
@@ -164,6 +165,7 @@ function! health#denops#check() abort
164165
\ 'Supported Neovim version: `%s`',
165166
\ l:supported_versions.neovim,
166167
\))
168+
call s:check_deno_executable()
167169
call s:check_deno_version(l:supported_versions.deno)
168170
if !has('nvim')
169171
call s:check_vim_version(l:supported_versions.vim)

0 commit comments

Comments
 (0)