diff options
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/aotrix/build.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lua/aotrix/build.lua b/lua/aotrix/build.lua index 35d9675..96a7f75 100644 --- a/lua/aotrix/build.lua +++ b/lua/aotrix/build.lua @@ -21,14 +21,14 @@ local personalCommands = require("aotrix.personal_commands") COMMANDS.AddTempCommand = { command = function() return personalCommands.createCommand(COMMANDS) end, - description = "Add temporary command" + description = function() return "Add temporary command" end } function selectCommand(listOfCommands, callback) vim.ui.select(vim.tbl_keys(listOfCommands), { prompt = "Select your command.", format_item = function(item) - return listOfCommands[item].description + return listOfCommands[item].description() end }, function(choice) if (choice ~= nil) then |
