mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-09 09:40:04 +08:00
fix(runner): fix code runner
This commit is contained in:
parent
9eebba69d4
commit
b8ae5eafa3
@ -197,7 +197,7 @@ function! s:async_run(runner, ...) abort
|
|||||||
call s:JOB.chanclose(s:runner_jobid, 'stdin')
|
call s:JOB.chanclose(s:runner_jobid, 'stdin')
|
||||||
endif
|
endif
|
||||||
else
|
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
|
||||||
endif
|
endif
|
||||||
if s:runner_jobid > 0
|
if s:runner_jobid > 0
|
||||||
|
Loading…
Reference in New Issue
Block a user