1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-03-23 17:49:57 +08:00

chore(typo): fix typo in smartclose function

This commit is contained in:
wsdjeg 2022-04-22 21:18:44 +08:00
parent 8eeb6964f2
commit 28fc230368

View File

@ -355,7 +355,7 @@ fu! SpaceVim#mapping#SmartClose() abort
let num = num - 1 let num = num - 1
elseif getwinvar(i, '&previewwindow') == 1 && winnr() !=# i elseif getwinvar(i, '&previewwindow') == 1 && winnr() !=# i
let num = num - 1 let num = num - 1
elseif exist('*win_getid') && s:WIN.is_float(win_getid(i)) elseif exists('*win_getid') && s:WIN.is_float(win_getid(i))
" in vim winnr('$') do not include popup. " in vim winnr('$') do not include popup.
let num = num - 1 let num = num - 1
endif endif