+ wezterm.log_info('selected: ' .. url)
+ local found, _, proj, type, num = string.find(url, "^(stm)%.([#!])(%d+)$")
+ wezterm.log_info('selected: ' .. url)
+ if found ~= nil then
+ if type == "#" then type = "issues"
+ elseif type == "!" then type = "merge_requests"
+ else return
+ end
+ if proj == "stm" then proj = "springfield"
+ else proj = proj
+ end
+ url = string.format("https://gitlab.com/fppnt/sgnss/%s/-/%s/%d", proj, type, num)
+ end