1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-03 02:30:03 +08:00

Fix mapping guide event

closing plugin buffer should not send event
This commit is contained in:
wsdjeg 2017-06-03 16:11:55 +08:00
parent f2866af5a4
commit 89ce635d25

View File

@ -337,7 +337,6 @@ function! s:handle_input(input) " {{{
call s:start_buffer()
else
let s:prefix_key_inp = ''
doautocmd WinEnter
call feedkeys(s:vis.s:reg.s:count, 'ti')
redraw!
try
@ -428,7 +427,7 @@ endfunction
function! s:winclose() " {{{
noautocmd execute s:gwin.'wincmd w'
if s:gwin == winnr()
close
noautocmd close
redraw!
exe s:winres
let s:gwin = -1