mirror of
https://github.com/neovim/neovim.git
synced 2024-09-17 20:58:20 -04:00
parent
cbbda3bcd7
commit
c1ee187f82
@ -580,6 +580,9 @@ static void nlua_common_vim_init(lua_State *lstate, bool is_thread, bool is_stan
|
||||
lua_pushvalue(lstate, -1);
|
||||
lua_setfield(lstate, -3, "uv");
|
||||
|
||||
lua_pushvalue(lstate, -1);
|
||||
lua_setfield(lstate, -3, "loop"); // deprecated
|
||||
|
||||
// package.loaded.luv = vim.uv
|
||||
// otherwise luv will be reinitialized when require'luv'
|
||||
lua_getglobal(lstate, "package");
|
||||
|
Loading…
Reference in New Issue
Block a user