0
0
mirror of https://github.com/vim/vim.git synced 2025-10-06 05:44:14 -04:00

patch 8.1.2039: character from 'showbreak' does not use 'wincolor'

Problem:    Character from 'showbreak' does not use 'wincolor'. (Nick Jensen)
Solution:   Mix with 'wincolor'. (closes #4938)
This commit is contained in:
Bram Moolenaar
2019-09-15 18:11:16 +02:00
parent af91438338
commit 8ae54375ca
4 changed files with 13 additions and 7 deletions

View File

@@ -4153,6 +4153,9 @@ win_line(
* required when 'linebreak' is also set. */
if (tocol == vcol)
tocol += n_extra;
// combine 'showbreak' with 'wincolor'
if (win_attr != 0)
char_attr = hl_combine_attr(win_attr, char_attr);
# ifdef FEAT_SYN_HL
// combine 'showbreak' with 'cursorline'
if (cul_attr != 0)