mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-04-14 23:49:19 +08:00
Fix undefinded value
This commit is contained in:
parent
a3014e1d8b
commit
c028411be3
@ -309,7 +309,7 @@ endfunction
|
|||||||
" @vimlint(EVL103, 0, a:event)
|
" @vimlint(EVL103, 0, a:event)
|
||||||
|
|
||||||
function! SpaceVim#plugins#runner#status() abort
|
function! SpaceVim#plugins#runner#status() abort
|
||||||
if s:status.is_running == 0
|
if s:status.is_running == 0 && exists('s:end_time')
|
||||||
return 'exit code : ' . s:status.exit_code
|
return 'exit code : ' . s:status.exit_code
|
||||||
\ . ' time: ' . s:STRING.trim(reltimestr(s:end_time))
|
\ . ' time: ' . s:STRING.trim(reltimestr(s:end_time))
|
||||||
\ . ' language: ' . get(s:, 'selected_language', &ft)
|
\ . ' language: ' . get(s:, 'selected_language', &ft)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user