aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/syntax.c
diff options
context:
space:
mode:
authorBjörn Linse <bjorn.linse@gmail.com>2018-10-22 14:53:45 +0200
committerGitHub <noreply@github.com>2018-10-22 14:53:45 +0200
commitf20427451e7f118d89d231cbab1faf8061369ddc (patch)
tree73553d90c1c010bcbe0e8cfef6edf97c61e671be /src/nvim/syntax.c
parent565bbd1485a4c884dbfdb65b8b1c04a0c5da6b3e (diff)
parente598811e76a4ee6666b680545097fb06b0ba59aa (diff)
downloadrneovim-f20427451e7f118d89d231cbab1faf8061369ddc.tar.gz
rneovim-f20427451e7f118d89d231cbab1faf8061369ddc.tar.bz2
rneovim-f20427451e7f118d89d231cbab1faf8061369ddc.zip
Merge pull request #9143 from bfredl/nuclear
disable clearing almost everywhere, cleanup screen.c dead code
Diffstat (limited to 'src/nvim/syntax.c')
-rw-r--r--src/nvim/syntax.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/syntax.c b/src/nvim/syntax.c
index 5c8b5899df..22eabc75c1 100644
--- a/src/nvim/syntax.c
+++ b/src/nvim/syntax.c
@@ -6566,7 +6566,7 @@ void do_highlight(const char *line, const bool forceit, const bool init)
}
init_highlight(true, true);
highlight_changed();
- redraw_later_clear();
+ redraw_all_later(NOT_VALID);
return;
}
name_end = (const char *)skiptowhite((const char_u *)line);