summaryrefslogtreecommitdiffstats
path: root/src/edit.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/edit.c')
-rw-r--r--src/edit.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/edit.c b/src/edit.c
index 2ac544a6be..4479964591 100644
--- a/src/edit.c
+++ b/src/edit.c
@@ -3607,13 +3607,6 @@ ins_esc(
#ifdef FEAT_SPELL
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);
#endif
temp = curwin->w_cursor.col;