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:
Harrison (Harry) Cramer
2024-05-05 11:12:39 -04:00
committed by GitHub
parent 0d0ed1639a
commit 816b87cf91
5 changed files with 21 additions and 14 deletions

View File

@@ -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