]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.0.1749: Text property highlight doesn't override a sign highlight on TAB v9.0.1749
authorChristian Brabandt <cb@256bit.org>
Sat, 19 Aug 2023 13:35:04 +0000 (15:35 +0200)
committerChristian Brabandt <cb@256bit.org>
Sat, 19 Aug 2023 13:35:04 +0000 (15:35 +0200)
commitdbeadf05b6a152e7d9c5cc23d9202057f8e99884
treec5077787ac0084ad3027075e402ced73af7b931d
parent6d192a4ac9ba600ec28eb86d2cc45dea67f5922b
patch 9.0.1749: Text property highlight doesn't override a sign highlight on TAB

Problem: Text property highlight doesn't override a sign highlight over
         a tab character
Solution: Let text_property override tab highlighting

This fixes a few problems of text properties:

-  text property highlighting when override=true does not overwrite TAB
   highlighting
-  text property highlighting when override=true does not overwrite TAB
   highlighting with :set list
-  text property highlighting is used instead of sign highlight after
   the actual text ends when signs are present with linehl is set

closes: #21584
closes: #21592

Signed-off-by: Christian Brabandt <cb@256bit.org>
src/drawline.c
src/testdir/dumps/Test_prop_sign_tab_1.dump [new file with mode: 0644]
src/testdir/dumps/Test_prop_sign_tab_2.dump [new file with mode: 0644]
src/testdir/test_textprop.vim
src/version.c