summaryrefslogtreecommitdiff
path: root/xmake/plugins/lua/xmake.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/plugins/lua/xmake.lua')
-rw-r--r--xmake/plugins/lua/xmake.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/xmake/plugins/lua/xmake.lua b/xmake/plugins/lua/xmake.lua
index 7b7bb8dd3..23d00b145 100644
--- a/xmake/plugins/lua/xmake.lua
+++ b/xmake/plugins/lua/xmake.lua
@@ -52,7 +52,9 @@ task("lua")
" - xmake lua core.xxx.xxx",
" - xmake lua -c 'print(...)' hello xmake!"
, values = function (complete, opt)
- if not complete or opt.command or opt.list then return end
+ if not complete or opt.command or opt.list then
+ return
+ end
return import("main.scripts")()
end }