From 1b4fc1416cf411d41d3499bcfcaf591fbd8b397b Mon Sep 17 00:00:00 2001 From: Alisue Date: Tue, 6 Aug 2024 09:02:32 +0900 Subject: [PATCH 1/2] :bug: Check `deno` executable in checkhealth --- autoload/health/denops.vim | 1 + 1 file changed, 1 insertion(+) diff --git a/autoload/health/denops.vim b/autoload/health/denops.vim index a439cf7e..d1769c4d 100644 --- a/autoload/health/denops.vim +++ b/autoload/health/denops.vim @@ -164,6 +164,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) From 744b7a7031a1dfefaade360668714bd9708029be Mon Sep 17 00:00:00 2001 From: Alisue Date: Tue, 6 Aug 2024 09:02:55 +0900 Subject: [PATCH 2/2] :+1: Show exepath of `deno` in `checkhealth` --- autoload/health/denops.vim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/autoload/health/denops.vim b/autoload/health/denops.vim index d1769c4d..bc5b9d22 100644 --- a/autoload/health/denops.vim +++ b/autoload/health/denops.vim @@ -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.')