diff --git a/bundle/vim-chat/autoload/chat.vim b/bundle/vim-chat/autoload/chat.vim index 07910d69e..2d09c6ec0 100644 --- a/bundle/vim-chat/autoload/chat.vim +++ b/bundle/vim-chat/autoload/chat.vim @@ -316,15 +316,6 @@ fu! s:windowsinit() abort setl filetype=vimchat endf -function! s:debug() abort - tabnew - for line in s:debug_log - call append(line('$'), line) - endfor - nnoremap q :bd! -endfunction - - let s:enter_history = [] function! s:enter() abort if s:c_begin . s:c_char . s:c_end =~# '/quit\s*' @@ -497,6 +488,3 @@ function! s:send(msg) abort call ch_sendraw(s:channel, a:msg ."\n") endif endfunction - -call chat#debug#defind('chatting', function('s:debug')) - diff --git a/bundle/vim-chat/autoload/chat/debug.vim b/bundle/vim-chat/autoload/chat/debug.vim deleted file mode 100644 index bdbe27b1e..000000000 --- a/bundle/vim-chat/autoload/chat/debug.vim +++ /dev/null @@ -1,9 +0,0 @@ -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