From b8ae5eafa3238cad101d1c933395dfad817d0e2f Mon Sep 17 00:00:00 2001 From: wsdjeg Date: Fri, 27 May 2022 16:00:54 +0800 Subject: [PATCH] fix(runner): fix code runner --- autoload/SpaceVim/plugins/runner.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/SpaceVim/plugins/runner.vim b/autoload/SpaceVim/plugins/runner.vim index c9c149df5..d3a5b4193 100644 --- a/autoload/SpaceVim/plugins/runner.vim +++ b/autoload/SpaceVim/plugins/runner.vim @@ -197,7 +197,7 @@ function! s:async_run(runner, ...) abort call s:JOB.chanclose(s:runner_jobid, 'stdin') endif else - call s:BUFFER.buf_set_lines(s:code_runner_bufnr, s:runner_lines , -1, 0, [exe . ' is not executable, make sure ' . exe . ' is in your PATH']) + call s:BUFFER.buf_set_lines(s:code_runner_bufnr, s:runner_lines , -1, 0, [exe[0] . ' is not executable, make sure ' . exe[0] . ' is in your PATH']) endif endif if s:runner_jobid > 0