0
0
mirror of https://github.com/vim/vim.git synced 2025-10-02 05:04:20 -04:00

patch 8.1.0849: cursorline highlight is not always updated

Problem:    Cursorline highlight is not always updated.
Solution:   Set w_last_cursorline when redrawing.  Fix resetting cursor flags
            when using the popup menu.
This commit is contained in:
Bram Moolenaar
2019-01-30 21:41:14 +01:00
parent b191be2f00
commit c07ff5c60a
5 changed files with 35 additions and 5 deletions

View File

@@ -3712,6 +3712,7 @@ win_line(
{
line_attr = HL_ATTR(HLF_CUL);
area_highlighting = TRUE;
wp->w_last_cursorline = wp->w_cursor.lnum;
}
#endif