aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/spell.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/spell.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/spell.c')
-rw-r--r--src/nvim/spell.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/spell.c b/src/nvim/spell.c
index 1984a357c3..636c71657d 100644
--- a/src/nvim/spell.c
+++ b/src/nvim/spell.c
@@ -2258,7 +2258,7 @@ char_u *did_set_spelllang(win_T *wp)
theend:
xfree(spl_copy);
recursive = false;
- redraw_win_later(wp, NOT_VALID);
+ redraw_later(wp, NOT_VALID);
return ret_msg;
}
@@ -6877,7 +6877,7 @@ void ex_spelldump(exarg_T *eap)
if (curbuf->b_ml.ml_line_count > 1) {
ml_delete(curbuf->b_ml.ml_line_count, false);
}
- redraw_later(NOT_VALID);
+ redraw_later(curwin, NOT_VALID);
}
// Go through all possible words and: