This commit is contained in:
Christian Nieves
2024-01-19 22:59:32 +00:00
parent 55546ec792
commit 70ec22f3c6

View File

@ -205,10 +205,10 @@ return {
keys = function()
local function runCommandWithTarget(cmd)
return function()
local targets = vim.fn["blaze#GetTargets"]()
local bloooooo = "VimuxRunCommand('" .. cmd .. " " .. targets:gsub(":.+", "") .. "')"
print(vim.inspect(bloooooo))
vim.cmd(cmd)
local targets = table.concat(vim.fn["blaze#GetTargets"](), " ")
local command = "VimuxRunCommand('" .. cmd .. " " .. targets .. "')"
print(vim.inspect(command))
vim.cmd(command)
end
end
return {