diff options
author | Bram Moolenaar <Bram@vim.org> | 2017-08-13 21:37:43 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2017-08-13 21:37:43 +0200 |
commit | bce4f62d3043f04fe29f3fef2b927b2268b15255 (patch) | |
tree | 65f4e387a63ce41b82403d0ed41c47c64575bcf0 /src/screen.c | |
parent | 2bb7b6b0e477612cc098cba27cc63ec3d19a2527 (diff) | |
download | vim-git-bce4f62d3043f04fe29f3fef2b927b2268b15255.tar.gz |
patch 8.0.0937: user highlight groups not adjusted for terminalv8.0.0937
Problem: User highlight groups are not adjusted for StatusLineTerm.
Solution: Combine attributes like for StatusLineNC.
Diffstat (limited to 'src/screen.c')
-rw-r--r-- | src/screen.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/screen.c b/src/screen.c index fb7c3ceba..05a170989 100644 --- a/src/screen.c +++ b/src/screen.c @@ -7257,6 +7257,11 @@ win_redr_custom( else if (hltab[n].userhl < 0) curattr = syn_id2attr(-hltab[n].userhl); #ifdef FEAT_WINDOWS +# ifdef FEAT_TERMINAL + else if (wp != NULL && bt_terminal(wp->w_buffer) + && wp->w_status_height != 0) + curattr = highlight_stlterm[hltab[n].userhl - 1]; +# endif else if (wp != NULL && wp != curwin && wp->w_status_height != 0) curattr = highlight_stlnc[hltab[n].userhl - 1]; #endif |