lspkind.nvim icon indicating copy to clipboard operation
lspkind.nvim copied to clipboard

Different `maxwidth` for label details / menu

Open tronikelis opened this issue 1 year ago • 0 comments

Usually the labelDetails information is not critical and can be truncated, but the menu items are critical to see full names because you will select them, so I propose to have 2 different maxwidths,

because right now if you set maxwidth, both menu and labelDetails will be truncated the same

something like

maxwidth = { menu = nil, labelDetails = nil }

but in the code I see menu is for label details and abbr is for the actual item, so maybe use the same terms like so

maxwidth = { menu = nil, abbr = nil }

tronikelis avatar Oct 11 '24 08:10 tronikelis