diff options
author | bfredl <bjorn.linse@gmail.com> | 2022-02-27 09:41:02 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-27 09:41:02 +0100 |
commit | 7dd2b0b79a34a7b3560971bc7c1466621134e469 (patch) | |
tree | 462102a3f1ac25fd0c9a145d7f2aa135999fc543 /src/nvim/main.c | |
parent | 8bf3a3e303dbefa47653964dd027074e804b418c (diff) | |
parent | 850b3e19c9fc8d84d960e6932a9ad4f0bcad2a8e (diff) | |
download | rneovim-7dd2b0b79a34a7b3560971bc7c1466621134e469.tar.gz rneovim-7dd2b0b79a34a7b3560971bc7c1466621134e469.tar.bz2 rneovim-7dd2b0b79a34a7b3560971bc7c1466621134e469.zip |
Merge pull request #17386 from bfredl/neothread
support threads in lua
Diffstat (limited to 'src/nvim/main.c')
-rw-r--r-- | src/nvim/main.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/nvim/main.c b/src/nvim/main.c index 8991ae7f00..ec64e407b2 100644 --- a/src/nvim/main.c +++ b/src/nvim/main.c @@ -154,10 +154,10 @@ bool event_teardown(void) void early_init(mparm_T *paramp) { env_init(); - fs_init(); eval_init(); // init global variables init_path(argv0 ? argv0 : "nvim"); init_normal_cmds(); // Init the table of Normal mode commands. + runtime_init(); highlight_init(); #ifdef WIN32 @@ -230,6 +230,10 @@ int main(int argc, char **argv) // `argc` and `argv` are also copied, so that they can be changed. init_params(¶ms, argc, argv); + // Since os_open is called during the init_startuptime, we need to call + // fs_init before it. + fs_init(); + init_startuptime(¶ms); // Need to find "--clean" before actually parsing arguments. |