commit be68077d159e1f18af2bc552f169711694d808a3
parent b7f4667ddb6c11fbb28a0ea8bb20e57c1095ddc1
Author: Tomas Nemec <nemi@skaut.cz>
Date: Mon, 2 Aug 2021 08:29:59 +0200
update
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lua/tms/p/trun.lua b/lua/tms/p/trun.lua
@@ -18,7 +18,7 @@ end
M.to_quickfix = function(name)
if not name then
return
- end
+ end
vim.fn.setqflist({}, 'r')
local handle = io.popen('trun_status - ' .. name)
local o = {}
@@ -37,6 +37,7 @@ M.to_quickfix = function(name)
table.insert(lines, line)
end
vim.fn.setqflist({}, ' ', {lines = lines})
+ vim.cmd [[ copen ]]
else
print('Trun for "' .. name .. '" does not have tmp file')
return