1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-04-14 23:49:19 +08:00

fix(chat): use :close to quit

This commit is contained in:
wsdjeg 2022-04-30 10:06:57 +08:00
parent f5238e15d0
commit 739d59780d

View File

@ -153,7 +153,7 @@ function! chat#windows#open() abort
call s:echon()
endwhile
setl nomodifiable
exe 'bd ' . bufnr(s:name)
close
let s:quit_chating_win = 0
let s:last_channel = s:current_channel
let s:current_channel = ''