mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06: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