mirror of
https://github.com/neovim/neovim.git
synced 2026-04-26 17:24:18 +00:00
Allow using internal popupmenu or ext_popupmenu for wildmenu
Deprecate ext_wildmenu. ext_popupmenu already contains more state (anchor position), and will allow further expansion (info about items).
This commit is contained in:
@@ -937,10 +937,7 @@ function Screen:_handle_option_set(name, value)
|
||||
end
|
||||
|
||||
function Screen:_handle_popupmenu_show(items, selected, row, col, grid)
|
||||
if (not self._options.ext_multigrid) and grid == 1 then
|
||||
grid = nil
|
||||
end
|
||||
self.popupmenu = {items=items, pos=selected, anchor={row, col, grid}}
|
||||
self.popupmenu = {items=items, pos=selected, anchor={grid, row, col}}
|
||||
end
|
||||
|
||||
function Screen:_handle_popupmenu_select(selected)
|
||||
|
||||
Reference in New Issue
Block a user