1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-03 10:00:06 +08:00
SpaceVim/bundle/vim-chat/autoload/chat/debug.vim
2021-10-24 16:25:43 +08:00

10 lines
220 B
VimL

let s:debug_func = {}
function! chat#debug#defind(key, value) abort
call extend(s:debug_func, {a:key : a:value})
endfunction
function! chat#debug#getLog(key) abort
call call(s:debug_func[a:key],[])
endfunction