summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAotrix <[email protected]>2026-08-09 18:55:38 +0200
committerAotrix <[email protected]>2026-08-09 18:55:38 +0200
commite363081c8a5accaadb8ea2343d1c48d612f9ab5e (patch)
tree3993b659e98073d62c241e6747ae2a70c0653a58
parent97f3f6cbaefe5c96e91a9de2dcc350edd692a4ea (diff)
Change COMMANDS to commands
-rw-r--r--lua/aotrix/plugins/build.lua4
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())