Re: [vim/vim] popupmenu completion kind is not visible in some cases (Issue #18710)

5 views
Skip to first unread message

girish

unread,
Nov 10, 2025, 1:15:39 AM (yesterday) Nov 10
to vim/vim, Subscribed
girishji left a comment (vim/vim#18710)

As you noticed, each field of the item is assigned a fixed number of columns to keep them aligned. However, if the word content exceeds the menu’s width, other fields like kind get truncated as a result. If we remove this alignment, the fields will no longer line up properly — which, in my opinion, doesn’t look as clean, even though it would allow more information to be visible in the menu.


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/18710/3509612910@github.com>

Maxim Kim

unread,
Nov 10, 2025, 1:27:13 AM (yesterday) Nov 10
to vim/vim, Subscribed
habamax left a comment (vim/vim#18710)

I was thinking not about removing the alignment but adjust it so it would only align within completion items that do not exceed the max width. But I get your point that it probably would be too complex to do right, without nasty sideeffects.


Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/18710/3509642113@github.com>

girish

unread,
Nov 10, 2025, 3:07:37 AM (yesterday) Nov 10
to vim/vim, Subscribed
girishji left a comment (vim/vim#18710)

It would add some complexity to get it right, given all those other fields also have variable width. Not sure if it is worth it.


Reply to this email directly, view it on GitHub.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/18710/3510028071@github.com>

Maxim Kim

unread,
Nov 10, 2025, 3:30:05 AM (yesterday) Nov 10
to vim/vim, Subscribed
habamax left a comment (vim/vim#18710)

It would add some complexity to get it right, given all those other fields also have variable width. Not sure if it is worth it.

It probably doesn't worth it, indeed.


Reply to this email directly, view it on GitHub.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/18710/3510133685@github.com>

Maxim Kim

unread,
Nov 10, 2025, 3:30:06 AM (yesterday) Nov 10
to vim/vim, Subscribed

Closed #18710 as completed.


Reply to this email directly, view it on GitHub.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issue/18710/issue_event/20828987775@github.com>

Reply all
Reply to author
Forward
0 new messages