aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/screen.c
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2020-05-05 23:38:15 -0400
committerGitHub <noreply@github.com>2020-05-05 23:38:15 -0400
commitf04a9a2c9aa68f98a79b8d7e9917719a8be6049b (patch)
tree4cd229a5856e1dfb1ad42bcf7e9ea3e0fb07f3dd /src/nvim/screen.c
parentd2766b06c8fc50d06765c5c607744cc6b5f5ef0a (diff)
parented4df85f6bae488d763b5d0eebbf2db9da25551d (diff)
downloadrneovim-f04a9a2c9aa68f98a79b8d7e9917719a8be6049b.tar.gz
rneovim-f04a9a2c9aa68f98a79b8d7e9917719a8be6049b.tar.bz2
rneovim-f04a9a2c9aa68f98a79b8d7e9917719a8be6049b.zip
Merge #12203 from janlazo/vim-8.2.0648
vim-patch:8.1.{800,868,1581},8.2.{648,649,663,678,681,688,691,692}
Diffstat (limited to 'src/nvim/screen.c')
-rw-r--r--src/nvim/screen.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/screen.c b/src/nvim/screen.c
index 45c56549c5..8f8bfee60c 100644
--- a/src/nvim/screen.c
+++ b/src/nvim/screen.c
@@ -5714,6 +5714,7 @@ void grid_puts_line_flush(bool set_cursor)
static void start_search_hl(void)
{
if (p_hls && !no_hlsearch) {
+ end_search_hl(); // just in case it wasn't called before
last_pat_prog(&search_hl.rm);
// Set the time limit to 'redrawtime'.
search_hl.tm = profile_setlimit(p_rdt);