aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ex_docmd.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/ex_docmd.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/ex_docmd.c')
-rw-r--r--src/nvim/ex_docmd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/ex_docmd.c b/src/nvim/ex_docmd.c
index ad7db2ae98..d7ed2fe97d 100644
--- a/src/nvim/ex_docmd.c
+++ b/src/nvim/ex_docmd.c
@@ -7382,7 +7382,7 @@ static void ex_syncbind(exarg_T *eap)
else
scrolldown(-y, TRUE);
curwin->w_scbind_pos = topline;
- redraw_later(VALID);
+ redraw_later(curwin, VALID);
cursor_correct();
curwin->w_redr_status = TRUE;
}
@@ -8507,7 +8507,7 @@ static void ex_pedit(exarg_T *eap)
if (curwin != curwin_save && win_valid(curwin_save)) {
// Return cursor to where we were
validate_cursor();
- redraw_later(VALID);
+ redraw_later(curwin, VALID);
win_enter(curwin_save, true);
}
g_do_tagpreview = 0;