syntax: avoid extra global macro

This commit is contained in:
Justin M. Keyes
2015-11-30 02:09:37 -05:00
parent 50e129f5a7
commit cae0904160
3 changed files with 12 additions and 10 deletions

View File

@@ -337,7 +337,7 @@ int main(int argc, char **argv)
// Do this before syntax/syntax.vim (which calls `:filetype on`).
force_enable_filetype();
// Enable syntax highlighting.
do_source((char_u *)SYNTAX_FILE, false, DOSO_NONE);
syn_cmd("syntax"); // sources syntax/syntax.vim
}
/*