Release (#256)
* fix: Jumping to wrong buffer (#261) * fix: Go to last line and show warning when diagnostic is past the end of buffer (#262) * fix: Get recent pipeline through other means (#266) * feat: Add keymaps and linewise actions to layouts (#265) This is a #MINOR release, because we are introducing new keybindings for the comment/note popups. --------- Co-authored-by: Jakub F. Bortlík <jakub.bortlik@proton.me> Co-authored-by: sunfuze <sunfuze.1989@gmail.com>
This commit is contained in:
committed by
GitHub
parent
138b96baea
commit
f906af0c3a
@@ -73,10 +73,16 @@ return {
|
||||
data = data.data,
|
||||
print_settings = state.print_settings,
|
||||
open_in_browser = async.sequence({ info }, function()
|
||||
if state.INFO.web_url == nil then
|
||||
u.notify("Could not get Gitlab URL", vim.log.levels.ERROR)
|
||||
return
|
||||
local web_url = u.get_web_url()
|
||||
if web_url ~= nil then
|
||||
u.open_in_browser(web_url)
|
||||
end
|
||||
end),
|
||||
copy_mr_url = async.sequence({ info }, function()
|
||||
local web_url = u.get_web_url()
|
||||
if web_url ~= nil then
|
||||
vim.fn.setreg("+", web_url)
|
||||
u.notify("Copied '" .. web_url .. "' to clipboard", vim.log.levels.INFO)
|
||||
end
|
||||
u.open_in_browser(state.INFO.web_url)
|
||||
end),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user