diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2016-04-15 02:42:46 -0400 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2016-04-15 02:42:46 -0400 |
commit | 4eb58273cde14f360c41ad98461b423a87ba3fd1 (patch) | |
tree | e87c0964a38b8aea3bf78cb42cb7a6297f592fc0 /src | |
parent | 01eafc0c176442b59599e73db01a2f7956342c27 (diff) | |
parent | 523ff9c55cfd4e82877e110b24eb049f405703d5 (diff) | |
download | rneovim-4eb58273cde14f360c41ad98461b423a87ba3fd1.tar.gz rneovim-4eb58273cde14f360c41ad98461b423a87ba3fd1.tar.bz2 rneovim-4eb58273cde14f360c41ad98461b423a87ba3fd1.zip |
Merge pull request #4558 from justinmk/filetype
defaults: Enable syntax/filetype for real.
Diffstat (limited to 'src')
-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 8a5c636e41..23ced5ebe5 100644 --- a/src/nvim/main.c +++ b/src/nvim/main.c @@ -335,7 +335,7 @@ int main(int argc, char **argv) source_startup_scripts(¶ms); // If using the runtime (-u is not NONE), enable syntax & filetype plugins. - if (params.use_vimrc != NULL && strcmp(params.use_vimrc, "NONE") != 0) { + if (params.use_vimrc == NULL || strcmp(params.use_vimrc, "NONE") != 0) { // Does ":filetype plugin indent on". filetype_maybe_enable(); // Sources syntax/syntax.vim, which calls `:filetype on`. |