vim-fuzzbox/fuzzbox.vim

E684: List index out of range: 0

Closed this issue · 3 comments

When running :FuzzyFiles

Error detected while processing function fuzzyy#files#Start[15]..fuzzyy#utils#selector#Start[19]..fuzzyy#utils#popup#PopupSelection:
line 127:
E684: List index out of range: 0
Press ENTER or type command to continue
Error detected while processing function 68_MenuFilter[43]..68_GeneralPopupCallback[
11]..68_Restore:
line 5:
E684: List index out of range: 0

VIM - Vi IMproved 9.1 (2024 Jan 02, compiled Jan 9 2025 17:05:31)
Included patches: 1-998

Setting:
popup.vim:45 and 692
if hlget('Cursor')->len() > 0
...
endif
will fix it.

Thanks!

Thanks for reporting this @DanielViberg, it has been fixed, but I was also unable to re-produce it in various Vim 9 versions on Mac, Windows and Debian.

Could you provide some more info to aid further investigation?

  • What OS are you using?
  • Can you provide the full output from :version
  • What colorscheme are you using?
  • Which terminal emulator program are you using? (iTerm, Kitty, Alacritty, etc.)