From 14f91301160cbf86f9bded2904ee21fe7f04db6c Mon Sep 17 00:00:00 2001 From: wsdjeg Date: Tue, 3 May 2022 11:18:22 +0800 Subject: [PATCH] feat(vimchat): support channel info message --- bundle/vim-chat/autoload/chat/gitter.vim | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/bundle/vim-chat/autoload/chat/gitter.vim b/bundle/vim-chat/autoload/chat/gitter.vim index bc202aaab..6d51f76ff 100644 --- a/bundle/vim-chat/autoload/chat/gitter.vim +++ b/bundle/vim-chat/autoload/chat/gitter.vim @@ -119,6 +119,13 @@ function! s:fetch(roomid) abort \ 'jobid' : jobid, \ 'response' : [], \ } + call chat#windows#push({ + \ 'user' : '--->', + \ 'username' : '--->', + \ 'room' : room, + \ 'msg' : 'fetching channel messages', + \ 'time': strftime("%Y-%m-%d %H:%M"), + \ }) endif endfunction