aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/edit.c
diff options
context:
space:
mode:
authorBjörn Linse <bjorn.linse@gmail.com>2020-11-01 21:54:51 +0100
committerGitHub <noreply@github.com>2020-11-01 21:54:51 +0100
commitd1091bc658a7992b9c3eaaba1b701187a60f0b5e (patch)
treeeeb5cdfc10bfe2aa968c63186551ef6564e6f2f3 /src/nvim/edit.c
parent720d442d19de4908e22ecf18223358bb7bbb0753 (diff)
parentc146eddc8b768f1cd395ea0ce54c19e64eff0c08 (diff)
downloadrneovim-d1091bc658a7992b9c3eaaba1b701187a60f0b5e.tar.gz
rneovim-d1091bc658a7992b9c3eaaba1b701187a60f0b5e.tar.bz2
rneovim-d1091bc658a7992b9c3eaaba1b701187a60f0b5e.zip
Merge pull request #12870 from bfredl/themepark
Color themes (per window/line) and lua theme providers
Diffstat (limited to 'src/nvim/edit.c')
-rw-r--r--src/nvim/edit.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nvim/edit.c b/src/nvim/edit.c
index ac0e6cc9f6..3e62ed9036 100644
--- a/src/nvim/edit.c
+++ b/src/nvim/edit.c
@@ -8571,7 +8571,7 @@ static void ins_up(
if (old_topline != curwin->w_topline
|| old_topfill != curwin->w_topfill
)
- redraw_later(VALID);
+ redraw_later(curwin, VALID);
start_arrow(&tpos);
can_cindent = true;
} else {
@@ -8619,7 +8619,7 @@ static void ins_down(
if (old_topline != curwin->w_topline
|| old_topfill != curwin->w_topfill
)
- redraw_later(VALID);
+ redraw_later(curwin, VALID);
start_arrow(&tpos);
can_cindent = true;
} else {
@@ -9013,7 +9013,7 @@ static int ins_ctrl_ey(int tc)
scrolldown_clamp();
else
scrollup_clamp();
- redraw_later(VALID);
+ redraw_later(curwin, VALID);
} else {
c = ins_copychar(curwin->w_cursor.lnum + (c == Ctrl_Y ? -1 : 1));
if (c != NUL) {