summaryrefslogtreecommitdiff
path: root/src/undo.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-07-28 22:29:35 +0200
committerBram Moolenaar <Bram@vim.org>2017-07-28 22:29:35 +0200
commit63ecddab6d918214371ccaaeb10c118ae7c39d02 (patch)
tree7c5f8f89a456a607c850e0f83db2d57135b1f0b6 /src/undo.c
parentd85f271bf8516dbd90be4d18f905f0abbfcd6db6 (diff)
downloadvim-git-63ecddab6d918214371ccaaeb10c118ae7c39d02.tar.gz
patch 8.0.0798: no highlighting in a terminal window with a finished jobv8.0.0798
Problem: No highlighting in a terminal window with a finished job. Solution: Highlight the text.
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
/*