>
) when items were truncated and pummaxwidth
was not set.https://github.com/vim/vim/pull/18441
(22 files)
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.
@zeertzjq commented on this pull request.
In src/popupmenu.c:
> + { + width = p_pw; + end_padding = FALSE; + } + if (p_pmw > 0 && width > p_pmw) + { + width = p_pmw; + end_padding = FALSE; + } + + pum_width = width + (end_padding && width >= p_pw ? 1 : 0); + return available_width >= pum_width; +} + +/* + * Calculate horizontal placement for popup menu for insert-mode completion.
This is called for cmdline completion as well.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.
@girishji pushed 1 commit.
—
View it on GitHub or unsubscribe.
You are receiving this because you are subscribed to this thread.
Test_popupwin_infopopup_6.dump
and Test_popupwin_infopopup_7.dump
are already incorrect:
they show the info window but not the popup menu.
This issue occurs only in the test; I cannot reproduce it otherwise.
In Test_popupmenu_info_border()
, setting of pumheight=3
causes the problem.
Without pumheight
, the popup menu displays correctly, but pumheight
is needed for the test.
If anyone has suggestions, please let me know.
Otherwise I’ll work around it by adding :set completepopup=border:off
, which avoids the issue.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.