diff options
Diffstat (limited to 'src/nvim/edit.c')
-rw-r--r-- | src/nvim/edit.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/nvim/edit.c b/src/nvim/edit.c index 612a1a1bda..c0f094453d 100644 --- a/src/nvim/edit.c +++ b/src/nvim/edit.c @@ -3395,14 +3395,6 @@ static bool ins_esc(long *count, int cmdchar, bool nomove) check_spell_redraw(); - // When text has been changed in this line, possibly the start of the next - // line may have SpellCap that should be removed or it needs to be - // displayed. Schedule the next line for redrawing just in case. - if (spell_check_window(curwin) - && curwin->w_cursor.lnum < curbuf->b_ml.ml_line_count) { - redrawWinline(curwin, curwin->w_cursor.lnum + 1); - } - int temp = curwin->w_cursor.col; if (disabled_redraw) { RedrawingDisabled--; |