1
0
forked from aniani/vim

updated for version 7.0016

This commit is contained in:
Bram Moolenaar
2004-09-13 20:26:32 +00:00
parent 15d0a8c77d
commit c0197e2815
48 changed files with 3362 additions and 795 deletions

View File

@@ -6016,7 +6016,18 @@ init_highlight(both, reset)
* If syntax highlighting is enabled load the highlighting for it.
*/
if (get_var_value((char_u *)"g:syntax_on") != NULL)
(void)cmd_runtime((char_u *)"syntax/syncolor.vim", TRUE);
{
static int recursive = 0;
if (recursive >= 5)
EMSG(_("E679: recursive loop loading syncolor.vim"));
else
{
++recursive;
(void)cmd_runtime((char_u *)"syntax/syncolor.vim", TRUE);
--recursive;
}
}
#endif
}