Release (#254)
- fix: an autocommand issue when creating an MR - feat: adds a keybinding for copying the URL of the current discussion to the system clipboard This is a #MINOR release
This commit is contained in:
committed by
GitHub
parent
7c3ee0530b
commit
49f2451e59
@@ -51,6 +51,7 @@ M.settings = {
|
||||
edit_comment = "e",
|
||||
delete_comment = "dd",
|
||||
open_in_browser = "b",
|
||||
copy_node_url = "u",
|
||||
reply = "r",
|
||||
toggle_node = "t",
|
||||
add_emoji = "Ea",
|
||||
@@ -280,9 +281,9 @@ M.set_popup_keymaps = function(popup, action, linewise_action, opts)
|
||||
local text = u.get_buffer_text(popup.bufnr)
|
||||
if opts.action_before_close then
|
||||
action(text, popup.bufnr)
|
||||
exit(popup, opts)
|
||||
vim.api.nvim_buf_delete(popup.bufnr, {})
|
||||
else
|
||||
exit(popup, opts)
|
||||
vim.api.nvim_buf_delete(popup.bufnr, {})
|
||||
action(text, popup.bufnr)
|
||||
end
|
||||
end, { buffer = popup.bufnr, desc = "Perform action" })
|
||||
|
||||
Reference in New Issue
Block a user