diff options
author | Björn Linse <bjorn.linse@gmail.com> | 2018-10-24 19:29:36 +0200 |
---|---|---|
committer | Björn Linse <bjorn.linse@gmail.com> | 2018-10-25 09:30:48 +0200 |
commit | c48c9828c39246c8552dfcded5d2cfa2eec28f90 (patch) | |
tree | eede9733f9b1d8eaa886dc57965b9a446484ff38 | |
parent | 662abd8451f4b8772744c9d2fdeed538b0cc50b7 (diff) | |
download | rneovim-c48c9828c39246c8552dfcded5d2cfa2eec28f90.tar.gz rneovim-c48c9828c39246c8552dfcded5d2cfa2eec28f90.tar.bz2 rneovim-c48c9828c39246c8552dfcded5d2cfa2eec28f90.zip |
screen.c: remove redundant wp->w_hl_attr_normal
-rw-r--r-- | src/nvim/screen.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/nvim/screen.c b/src/nvim/screen.c index 0539fd2e1e..46aa771a89 100644 --- a/src/nvim/screen.c +++ b/src/nvim/screen.c @@ -2835,7 +2835,7 @@ win_line ( // if need_showbreak is set, breakindent also applies if (wp->w_p_bri && (row != startrow || need_showbreak) && filler_lines == 0) { - char_attr = wp->w_hl_attr_normal; + char_attr = 0; if (diff_hlf != (hlf_T)0) { char_attr = win_hl_attr(wp, diff_hlf); @@ -2895,7 +2895,7 @@ win_line ( p_extra = saved_p_extra; char_attr = saved_char_attr; } else { - char_attr = wp->w_hl_attr_normal; + char_attr = 0; } } } @@ -3079,7 +3079,7 @@ win_line ( if (has_syntax) { char_attr = syntax_attr; } else { - char_attr = wp->w_hl_attr_normal; + char_attr = 0; } } } @@ -3342,7 +3342,7 @@ win_line ( else syntax_flags = get_syntax_info(&syntax_seqnr); } else if (!attr_pri) { - char_attr = wp->w_hl_attr_normal; + char_attr = 0; } /* Check spelling (unless at the end of the line). |