diff options
| author | Aotrix <[email protected]> | 2026-08-09 22:02:39 +0200 |
|---|---|---|
| committer | Aotrix <[email protected]> | 2026-08-09 22:02:39 +0200 |
| commit | 670439e2802de9ef1fd3fe6271b581352a1f8fc4 (patch) | |
| tree | 6070814c8f891b6d1d639a48cbd47028e537fbad /lua | |
| parent | 90e69c2d3da8433e518e09a191465674bc2eec62 (diff) | |
weird bug
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/aotrix/plugins/build.lua | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lua/aotrix/plugins/build.lua b/lua/aotrix/plugins/build.lua index c3a03c1..a7c5dfe 100644 --- a/lua/aotrix/plugins/build.lua +++ b/lua/aotrix/plugins/build.lua @@ -135,8 +135,7 @@ return { menu:mount() end - local addCommand = function(current_command, commands, - personal_command_json_path) + local addCommand = function(commands, personal_command_json_path) local selectedCommand = nil local Input = require("nui.input") @@ -221,7 +220,7 @@ return { end vim.api.nvim_create_user_command("AddCommand", function() - addCommand(CURRENT_COMMAND, COMMANDS, PERSONAL_COMMAND_JSON_PATH) + addCommand(COMMANDS, PERSONAL_COMMAND_JSON_PATH) end, {}) vim.api.nvim_create_user_command("DeleteCommand", deleteCommand, {}) |
