Fix #1142
This commit is contained in:
@@ -77,8 +77,7 @@ native_entries_view.open = function(self, offset, entries)
|
||||
end
|
||||
|
||||
native_entries_view.close = function(self)
|
||||
if api.is_suitable_mode() and self:visible() then
|
||||
vim.fn.complete(1, {})
|
||||
if api.is_insert_mode() and self:visible() then
|
||||
vim.api.nvim_select_popupmenu_item(-1, false, true, {})
|
||||
end
|
||||
self.offset = -1
|
||||
|
||||
Reference in New Issue
Block a user