mirror of
https://github.com/neovim/neovim.git
synced 2025-09-16 08:18:17 +00:00
feat(lua): add proper support of luv threads
This commit is contained in:
@@ -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_search_path_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.
|
||||
|
Reference in New Issue
Block a user