diff options
Diffstat (limited to 'src/nvim/main.c')
-rw-r--r-- | src/nvim/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/main.c b/src/nvim/main.c index 97cccb2e25..b1f5a6ccad 100644 --- a/src/nvim/main.c +++ b/src/nvim/main.c @@ -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 } /* |