commit | 1ec484f58e9fef3666e80aa835d99a287c155911 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Fri Jun 24 23:07:47 2005 +0000 |
committer | Bram Moolenaar <Bram@vim.org> | Fri Jun 24 23:07:47 2005 +0000 |
tree | 0481a24509748a218d3abb861103c9c385b6f75e | |
parent | 0a5fe2140db2e6688a7ef42031a21d8293038715 [diff] [blame] |
updated for version 7.0092
diff --git a/src/syntax.c b/src/syntax.c index 4fdbbbf..6092a1c 100644 --- a/src/syntax.c +++ b/src/syntax.c
@@ -7067,6 +7067,18 @@ need_highlight_changed = TRUE; } +#if defined(EXITFREE) || defined(PROTO) + void +free_highlight() +{ + int i; + + for (i = 0; i < highlight_ga.ga_len; ++i) + highlight_clear(i); + ga_clear(&highlight_ga); +} +#endif + /* * Reset the cterm colors to what they were before Vim was started, if * possible. Otherwise reset them to zero.