mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
vim-patch:8.1.0683: spell highlighting does not always end
Problem: Spell highlighting does not always end. (Gary Johnson)
Solution: Also reset char_attr when spell errors are highlighted.
637532b3c0
This commit is contained in:
parent
40f7ce96c3
commit
624f5c8be3
@ -2936,8 +2936,8 @@ win_line (
|
||||
break;
|
||||
}
|
||||
|
||||
if (draw_state == WL_LINE && area_highlighting) {
|
||||
/* handle Visual or match highlighting in this line */
|
||||
if (draw_state == WL_LINE && (area_highlighting || has_spell)) {
|
||||
// handle Visual or match highlighting in this line
|
||||
if (vcol == fromcol
|
||||
|| (vcol + 1 == fromcol && n_extra == 0
|
||||
&& utf_ptr2cells(ptr) > 1)
|
||||
|
Loading…
Reference in New Issue
Block a user