mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-23 22:40:04 +08:00
Fix #466
This commit is contained in:
parent
8baf984f8f
commit
63dd572190
@ -33,7 +33,7 @@ function! SpaceVim#logger#warn(msg) abort
|
||||
endfunction
|
||||
|
||||
function! SpaceVim#logger#error(msg) abort
|
||||
if g:spacevim_enable_debug && s:logger_level <= 3
|
||||
if get(g:, 'spacevim_enable_debug', 1) && s:logger_level <= 3
|
||||
call s:wite(s:warpMsg(a:msg, 3))
|
||||
else
|
||||
call add(s:log_temp,s:warpMsg(a:msg,3))
|
||||
|
Loading…
Reference in New Issue
Block a user