Small bug fixes (#298)
fix: List remote branches for merge targets (#293) fix: consider remote branches (#297) fix: Save popup contents to temp_registers (#294) This is a #PATCH release.
This commit is contained in:
committed by
GitHub
parent
0d0ed1639a
commit
816b87cf91
@@ -113,7 +113,7 @@ end
|
||||
---@param tree NuiTree
|
||||
M.copy_node_url = function(tree)
|
||||
local url = M.get_url(tree)
|
||||
if url == nil then
|
||||
if url ~= nil then
|
||||
vim.fn.setreg("+", url)
|
||||
u.notify("Copied '" .. url .. "' to clipboard", vim.log.levels.INFO)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user