aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/main.c
diff options
context:
space:
mode:
authorThiago de Arruda <tpadilha84@gmail.com>2015-05-20 08:06:43 -0300
committerThiago de Arruda <tpadilha84@gmail.com>2015-07-01 05:40:53 -0300
commitd6ed2b3a39a2b4ea78fe9461b640eeeca53880bf (patch)
tree12229c184faca1ea4bc2101de75a3a48aa206377 /src/nvim/main.c
parent67e45e185219d1b1a2dabb12967837fcfdcef429 (diff)
downloadrneovim-d6ed2b3a39a2b4ea78fe9461b640eeeca53880bf.tar.gz
rneovim-d6ed2b3a39a2b4ea78fe9461b640eeeca53880bf.tar.bz2
rneovim-d6ed2b3a39a2b4ea78fe9461b640eeeca53880bf.zip
os/fs: Use module-local uv_loop_t instance
This event loop is just a stub instance used in synchronous libuv function calls, it needs to be decoupled from the main event loop in order to run it from another thread.
Diffstat (limited to 'src/nvim/main.c')
-rw-r--r--src/nvim/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/main.c b/src/nvim/main.c
index e1bb2d0b66..50c16c51d6 100644
--- a/src/nvim/main.c
+++ b/src/nvim/main.c
@@ -138,6 +138,7 @@ static const char *err_extra_cmd =
/// Needed for unit tests. Must be called after `time_init()`.
void early_init(void)
{
+ fs_init();
handle_init();
(void)mb_init(); // init mb_bytelen_tab[] to ones