mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-03-23 09:39:58 +08:00
Fix unknown function popup_list (#3673)
This commit is contained in:
parent
31768c56ce
commit
a0db70b063
@ -109,7 +109,11 @@ else
|
||||
"tabpage" will be -1 for a global popup, zero for a popup on
|
||||
"the current tabpage and a positive number for a popup on
|
||||
"another tabpage.
|
||||
if exists('*popup_list')
|
||||
return index(popup_list(), self.__winid) != -1
|
||||
else
|
||||
return index([-1, 0], get(popup_getoptions(self.__winid), 'tabpage', -2)) != -1
|
||||
endif
|
||||
endfunction
|
||||
endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user