diff options
Diffstat (limited to 'lua/aotrix/build.lua')
| -rw-r--r-- | lua/aotrix/build.lua | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lua/aotrix/build.lua b/lua/aotrix/build.lua index 96a7f75..8408814 100644 --- a/lua/aotrix/build.lua +++ b/lua/aotrix/build.lua @@ -20,7 +20,10 @@ local COMMANDS = {} local personalCommands = require("aotrix.personal_commands") COMMANDS.AddTempCommand = { - command = function() return personalCommands.createCommand(COMMANDS) end, + command = function() + CURRENT_COMMAND = personalCommands.createCommand(COMMANDS).command + return CURRENT_COMMAND() + end, description = function() return "Add temporary command" end } |
