From 70ec22f3c6af345848677333e5c00edff60303ed Mon Sep 17 00:00:00 2001 From: Christian Nieves Date: Fri, 19 Jan 2024 22:59:32 +0000 Subject: [PATCH] fix --- vim/.vim/lua/plugins/google.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/vim/.vim/lua/plugins/google.lua b/vim/.vim/lua/plugins/google.lua index 778e4e9..8ffd543 100644 --- a/vim/.vim/lua/plugins/google.lua +++ b/vim/.vim/lua/plugins/google.lua @@ -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 {