1
0
forked from aniani/vim

patch 8.1.2158: terminal attributes missing in Terminal-normal mode

Problem:    Terminal attributes missing in Terminal-normal mode.
Solution:   Use "syntax_attr".
This commit is contained in:
Bram Moolenaar
2019-10-16 18:11:31 +02:00
parent 8f7b29f033
commit 17efc7fa05
4 changed files with 32 additions and 1 deletions

View File

@@ -1517,7 +1517,7 @@ win_line(
else
#endif
#ifdef FEAT_SYN_HL
if (has_syntax)
if (has_syntax || get_term_attr)
char_attr = syntax_attr;
else
#endif