diff options
Diffstat (limited to 'lua/aotrix/plugins')
| -rw-r--r-- | lua/aotrix/plugins/build.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lua/aotrix/plugins/build.lua b/lua/aotrix/plugins/build.lua index c022224..0bcf713 100644 --- a/lua/aotrix/plugins/build.lua +++ b/lua/aotrix/plugins/build.lua @@ -139,7 +139,7 @@ return { selectedCommand = value local selectedDescription = vim.fn.input( 'Name the command: ') - COMMANDS[selectedDescription] = { + commands[selectedDescription] = { command = function() return selectedCommand end, @@ -147,7 +147,7 @@ return { return selectedDescription end } - local created_command = COMMANDS[selectedDescription] + local created_command = commands[selectedDescription] addCommandToJsonFile(created_command, personal_command_json_path, vim.fn.getcwd()) |
