mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 8.1.2273: wrong default when "pos" is changed with popup_atcursor()
Problem: Wrong default when "pos" is changed with popup_atcursor(). Solution: Adjust the default line and col when "pos" is not the default value. (#5151)
This commit is contained in:
@@ -4960,7 +4960,7 @@ prepare_tagpreview(
|
||||
{
|
||||
wp = popup_find_preview_window();
|
||||
if (wp != NULL)
|
||||
popup_set_wantpos_cursor(wp, wp->w_minwidth);
|
||||
popup_set_wantpos_cursor(wp, wp->w_minwidth, NULL);
|
||||
}
|
||||
else if (use_popup != USEPOPUP_NONE)
|
||||
{
|
||||
|
Reference in New Issue
Block a user