Bugfix: Pipeline Job Names w/ Whitespace (#140)

Fix for the pipeline job output where the job name contained whitespace characters. Users will now see the output in a new tab. Support has been added for Windows OS.
This commit is contained in:
Harrison (Harry) Cramer
2023-12-13 18:51:18 -05:00
committed by GitHub
parent d5510f9d9a
commit 9da62d982e
2 changed files with 39 additions and 17 deletions

View File

@@ -226,6 +226,14 @@ M.get_longest_string = function(list)
return longest
end
M.map = function(tbl, f)
local t = {}
for k, v in pairs(tbl) do
t[k] = f(v)
end
return t
end
M.notify = function(msg, lvl)
vim.notify("gitlab.nvim: " .. msg, lvl)
end