This commit is contained in:
hrsh7th
2021-10-22 22:50:46 +09:00
parent 533f17c569
commit e699962a49

View File

@@ -71,7 +71,7 @@ end
native_entries_view.close = function(self) native_entries_view.close = function(self)
if api.is_suitable_mode() then if api.is_suitable_mode() then
vim.fn.complete(1, {}) vim.api.nvim_select_popupmenu_item(-1, false, true, {})
end end
self.offset = -1 self.offset = -1
self.entries = {} self.entries = {}