0
0
mirror of https://github.com/vim/vim.git synced 2025-09-25 03:54:15 -04:00

patch 8.1.0726: redrawing specifically for conceal feature

Problem:    Redrawing specifically for conceal feature.
Solution:   Use generic redrawing methods.
This commit is contained in:
Bram Moolenaar
2019-01-11 20:45:36 +01:00
parent 465e8b5985
commit 535d5b653a
8 changed files with 36 additions and 82 deletions

View File

@@ -8512,7 +8512,7 @@ n_opencmd(cmdarg_T *cap)
{
#ifdef FEAT_CONCEAL
if (curwin->w_p_cole > 0 && oldline != curwin->w_cursor.lnum)
update_single_line(curwin, oldline);
redrawWinline(curwin, oldline);
#endif
/* When '#' is in 'cpoptions' ignore the count. */
if (vim_strchr(p_cpo, CPO_HASH) != NULL)