1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-02 20:20:05 +08:00

fix(runner): fix code runner

This commit is contained in:
wsdjeg 2022-05-27 16:00:54 +08:00
parent 9eebba69d4
commit b8ae5eafa3

View File

@ -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