diff options
author | bfredl <bjorn.linse@gmail.com> | 2023-04-20 13:19:38 +0200 |
---|---|---|
committer | bfredl <bjorn.linse@gmail.com> | 2023-04-27 11:40:00 +0200 |
commit | 45bcf8386918bbb475fbe20c48b508aa89ed0624 (patch) | |
tree | 772416435a44717c8e42b3d4f59dd85f6ed47bfa /src/nlua0.c | |
parent | 9f0762f1fec2aa23df592dda70124e3cbdb703b7 (diff) | |
download | rneovim-45bcf8386918bbb475fbe20c48b508aa89ed0624.tar.gz rneovim-45bcf8386918bbb475fbe20c48b508aa89ed0624.tar.bz2 rneovim-45bcf8386918bbb475fbe20c48b508aa89ed0624.zip |
refactor(build): include lpeg as a library
Diffstat (limited to 'src/nlua0.c')
-rw-r--r-- | src/nlua0.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/nlua0.c b/src/nlua0.c index af811df324..2cfa16b804 100644 --- a/src/nlua0.c +++ b/src/nlua0.c @@ -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; } |