aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/syntax.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/syntax.c')
-rw-r--r--src/nvim/syntax.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/nvim/syntax.c b/src/nvim/syntax.c
index b418df77a4..f8a62423ce 100644
--- a/src/nvim/syntax.c
+++ b/src/nvim/syntax.c
@@ -6248,11 +6248,8 @@ init_highlight(int both, int reset)
(void)source_runtime((char_u *)"syntax/syncolor.vim", DIP_ALL);
recursive--;
}
- // Without syncolor.vim it is going to screw everything over by defining
- // cleared highlight groups by creating links to non-existent groups. This
- // effectively prevents ":highlight default" from working properly.
- syn_init_cmdline_highlight(reset, true);
}
+ syn_init_cmdline_highlight(false, false);
}
/*