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

Fix smart close issue for Vim (#4110)

This commit is contained in:
Liu Chunlei 2021-02-27 22:14:02 +08:00 committed by GitHub
parent c028411be3
commit 8f552b8b77
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -302,7 +302,7 @@ fu! SpaceVim#mapping#SmartClose() abort
\ && exists('*popup_list') \ && exists('*popup_list')
\ && exists('*popup_getoptions') \ && exists('*popup_getoptions')
\ && exists('*popup_getpos') \ && exists('*popup_getpos')
let popup_count = len( let win_count = len(
\ filter( \ filter(
\ map( \ map(
\ filter(popup_list(), 'popup_getpos(v:val).visible'), \ filter(popup_list(), 'popup_getpos(v:val).visible'),