aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/main.c')
-rw-r--r--src/nvim/main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/nvim/main.c b/src/nvim/main.c
index 252aa81825..136608afdf 100644
--- a/src/nvim/main.c
+++ b/src/nvim/main.c
@@ -166,6 +166,7 @@ void early_init(mparm_T *paramp)
init_path(argv0 ? argv0 : "nvim");
init_normal_cmds(); // Init the table of Normal mode commands.
highlight_init();
+ syntax_init();
#ifdef WIN32
OSVERSIONINFO ovi;
@@ -314,6 +315,9 @@ int main(int argc, char **argv)
init_highlight(true, false); // Default highlight groups.
TIME_MSG("init highlight");
+ init_default_mappings(); // Default mappings.
+ TIME_MSG("init default mappings");
+
// Set the break level after the terminal is initialized.
debug_break_level = params.use_debug_break_level;