When the cursor is on white space, popup_atcursor() created a popup that was closed immediately, for example when popup_atcursor() is called from another popup's filter that also closes that popup.
The cause is that find_ident_under_cursor() skips forward to the next word when the cursor is on white space, so the stored "moved" column range did not cover the cursor column and popup_check_cursor_pos() closed the popup right away. Keep the cursor column in that case.
Fixes #20652
https://github.com/vim/vim/pull/20659
(2 files)
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.![]()