yatli / fvim

Cross platform Neovim front-end UI, built with F# + Avalonia
MIT License
1.34k stars 30 forks source link

Invalid code completion behavior when FVimUIPopupMenu enabled #227

Open damanis opened 2 years ago

damanis commented 2 years ago

Set 'FVimUIPopupMenu v:true' Start enter some word and press : popup is opened, then selection over from item to item and at end select, usually, the item less relevant than in default neovim popup. Expected behavior: same as default in neovim, when FVimUIPopupMenu disabled.

yatli commented 2 years ago

@damanis is your key stroke sequence swallow by github?

damanis commented 2 years ago

I didn't understand the question. Ctrl-p opens popup, selected item changes several time, then menu ready (any item may be selected).

yatli commented 2 years ago

ooh ok it's ctrl-p. note that it didn't show up in your top post.

try 0.3.531? I solved some pum two-way synchronization problem.

damanis commented 2 years ago

In 0.3.531 is same (I always install latest release).

yatli commented 2 years ago

I'm not really sure what you mean. I assume you mean fvim completion list has wrong order (but I never noticed that). Is there something I can repro? What are the completion plugins you're using? Or, can you repro with -u NORC?

damanis commented 2 years ago

Now I can reproduce only menu draw problem (and sometime selected item is not relevant). FVimUIPopupMenu v:true image FVimUIPopupMenu v:false image In this scenario detect_9 should be selected after press ctrl-p. I don't use any completion plugin, legacy neovim.

damanis commented 2 years ago

Of course, it is not critical issue.