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

fix(gitter): skip space when debug

This commit is contained in:
wsdjeg 2022-05-02 00:25:28 +08:00
parent dd165bd78d
commit 9484ac6fb9

View File

@ -50,7 +50,9 @@ endfunction
function! s:gitter_stdout(id, data, event) abort
for line in a:data
call s:LOG.debug(line)
if line !~# '^\s*$'
call s:LOG.debug(line)
endif
endfor
for room in keys(s:room_jobs)
if s:room_jobs[room] ==# a:id