summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lua/aotrix/build.lua5
1 files changed, 4 insertions, 1 deletions
diff --git a/lua/aotrix/build.lua b/lua/aotrix/build.lua
index 8408814..605b736 100644
--- a/lua/aotrix/build.lua
+++ b/lua/aotrix/build.lua
@@ -19,9 +19,11 @@ end
local COMMANDS = {}
local personalCommands = require("aotrix.personal_commands")
-COMMANDS.AddTempCommand = {
+COMMANDS.AddCommand = {
command = function()
CURRENT_COMMAND = personalCommands.createCommand(COMMANDS).command
+ encoded_json = vim.json.encode({first_element = 1, second_element = 2})
+ print(encoded_json)
return CURRENT_COMMAND()
end,
description = function() return "Add temporary command" end
@@ -57,3 +59,4 @@ vim.keymap.set("n", "mC", function()
selectCommand(COMMANDS,
function() executeCommandInTerminal(CURRENT_COMMAND) end)
end)
+