]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.1398: completion: trunc does not follow Pmenu highlighting attributes v9.1.1398
authorglepnir <glephunter@gmail.com>
Sun, 18 May 2025 18:14:53 +0000 (20:14 +0200)
committerChristian Brabandt <cb@256bit.org>
Sun, 18 May 2025 18:14:53 +0000 (20:14 +0200)
commit0816f17e9a2ba2d1e132497b03905878c7340a78
tree620a71186adcf6027c47952dd6e8f9d698ea97f3
parenta577e4289c3177309880592b85f225e487552f17
patch 9.1.1398: completion: trunc does not follow Pmenu highlighting attributes

Problem:  When items are combined with user-defined highlight attributes
          (e.g., strikethrough), trunc inherits these attributes, making
          the text difficult to read.
Solution: trunc now uses the original Pmenu and PmenuSel highlight
          attributes (glepnir)

closes: #17340

Signed-off-by: glepnir <glephunter@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/popupmenu.c
src/testdir/dumps/Test_pum_maxwidth_23.dump [new file with mode: 0644]
src/testdir/test_popup.vim
src/version.c