executor: Make sure it works with API values

This commit is contained in:
ZyX
2016-07-11 20:42:27 +03:00
parent a4dc8de073
commit ed3115bd26
5 changed files with 461 additions and 211 deletions

View File

@@ -145,6 +145,7 @@ static int nlua_state_init(lua_State *lstate) FUNC_ATTR_NONNULL_ALL
return 1;
}
nlua_add_api_functions(lstate);
nlua_init_types(lstate);
lua_setglobal(lstate, "vim");
return 0;
}