summaryrefslogtreecommitdiff
path: root/src/undo.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/undo.c')
-rw-r--r--src/undo.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/undo.c b/src/undo.c
index aeca25f00..6ab8572aa 100644
--- a/src/undo.c
+++ b/src/undo.c
@@ -419,6 +419,10 @@ u_savecommon(
}
}
#endif
+#ifdef FEAT_TERMINAL
+ /* A change in a terminal buffer removes the highlighting. */
+ term_change_in_curbuf();
+#endif
#ifdef FEAT_AUTOCMD
/*