can't open menu/popups -> invalid key 'noautocmd'
Closed this issue · 3 comments
sagiegurari commented
Amazing plugin. having been using it for a long time.
However, this week I updated it (didn't update it for months) and it started failing when i open a menu:
Error detected while processing function _menu_open_async[4]..quickui#menu#open[8]..quickui#menu#nvim_open_menu:
line 31:
E5555: API call: Invalid key 'noautocmd'
_menu_open_async is called from a timer and just does the following:
call quickui#menu#open()
nvim version:
NVIM v0.5.0-dev+1022-g77a6049e0
Build type: RelWithDebInfo
LuaJIT 2.1.0-beta3
skywind3000 commented
skywind3000 commented
please try the latest version, I have changed:
if has('nvim-0.5.0')
let opts.noautocmd = 1
endif
to
if has('nvim-0.6.0')
let opts.noautocmd = 1
endif
sagiegurari commented
ya that fixed it, thanks a lot. Your plugin is so useful.
i'll also upgrade my neovim :D