mirror of
https://github.com/neovim/neovim.git
synced 2025-09-13 23:08:16 +00:00
refactor(build): include lpeg as a library
This commit is contained in:
@@ -9,5 +9,10 @@ LUA_API int luaopen_nlua0(lua_State* L) {
|
||||
luaopen_mpack(L);
|
||||
lua_setfield(L, -2, "mpack");
|
||||
|
||||
int luaopen_lpeg(lua_State *);
|
||||
luaopen_lpeg(L);
|
||||
lua_setfield(L, -3, "lpeg");
|
||||
lua_pop(L, 2);
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
Reference in New Issue
Block a user