From 3dc28117b416261ac366a638c662b4836de1d7e3 Mon Sep 17 00:00:00 2001 From: Aotrix <9aotrix@protonmail.com> Date: Wed, 3 Jun 2026 21:05:45 +0200 Subject: description is now a function --- lua/aotrix/build.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lua/aotrix/build.lua') 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 -- cgit v1.2.3