1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-24 06:20:05 +08:00
SpaceVim/autoload/zvim/debug.vim
2019-01-28 22:12:37 +08:00

14 lines
427 B
VimL

let s:debug_message = []
function! zvim#debug#completion_debug(ArgLead, CmdLine, CursorPos) abort
call add(s:debug_message, 'arglead:['.a:ArgLead .'] cmdline:[' .a:CmdLine .'] cursorpos:[' .a:CursorPos .']')
endfunction
function! zvim#debug#get_message() abort
return join(s:debug_message, "\n")
endfunction
function! zvim#debug#clean_message() abort
let s:debug_message = []
return s:debug_message
endfunction