diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-01-11 20:45:36 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-01-11 20:45:36 +0100 |
commit | 535d5b653a1eddf49ee11dc9639c5355ef023301 (patch) | |
tree | 108a023a948f57b7620d2cad3c4931c58f21706c /src/window.c | |
parent | 465e8b5985908596261cef9d671024ed8ded1ce3 (diff) | |
download | vim-git-535d5b653a1eddf49ee11dc9639c5355ef023301.tar.gz |
patch 8.1.0726: redrawing specifically for conceal featurev8.1.0726
Problem: Redrawing specifically for conceal feature.
Solution: Use generic redrawing methods.
Diffstat (limited to 'src/window.c')
-rw-r--r-- | src/window.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/window.c b/src/window.c index e67aeeabd..5989aed4b 100644 --- a/src/window.c +++ b/src/window.c @@ -4177,9 +4177,9 @@ win_goto(win_T *wp) win_enter(wp, TRUE); #ifdef FEAT_CONCEAL - /* Conceal cursor line in previous window, unconceal in current window. */ + // Conceal cursor line in previous window, unconceal in current window. if (win_valid(owp) && owp->w_p_cole > 0 && !msg_scrolled) - update_single_line(owp, owp->w_cursor.lnum); + redrawWinline(owp, owp->w_cursor.lnum); if (curwin->w_p_cole > 0 && !msg_scrolled) need_cursor_line_redraw = TRUE; #endif |