1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-24 05:20:04 +08:00
SpaceVim/autoload/zvim/debug.vim
2016-12-26 21:11:19 +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