aboutsummaryrefslogtreecommitdiff
path: root/lpm.c
diff options
context:
space:
mode:
authorAdam <adamdharrison@gmail.com>2022-09-12 14:48:01 -0400
committerAdam <adamdharrison@gmail.com>2022-09-12 14:48:01 -0400
commite2e70a0d3b74eca224970ec2023561b59a1b2efd (patch)
treefbde236ab774a57a28ed88b49fb6540b1c50e883 /lpm.c
parent4df1685dcd73670f9a52fb15524b39cb447d776b (diff)
downloadlite-xl-plugin-manager-e2e70a0d3b74eca224970ec2023561b59a1b2efd.tar.gz
lite-xl-plugin-manager-e2e70a0d3b74eca224970ec2023561b59a1b2efd.zip
Updated with list of core plugins.
Diffstat (limited to 'lpm.c')
-rw-r--r--lpm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lpm.c b/lpm.c
index 2da8a13..fa0410b 100644
--- a/lpm.c
+++ b/lpm.c
@@ -383,8 +383,8 @@ int main(int argc, char* argv[]) {
lua_pushliteral(L, "/");
#endif
lua_setglobal(L, "PATHSEP");
- //if (luaL_loadstring(L, luafile)) {
- if (luaL_loadfile(L, "lpm.lua")) {
+ if (luaL_loadstring(L, luafile)) {
+ //if (luaL_loadfile(L, "lpm.lua")) {
fprintf(stderr, "internal error when starting the application: %s\n", lua_tostring(L, -1));
return -1;
}