fix(status): open unmerged files from status view

This commit is contained in:
2026-05-29 12:04:03 +02:00
parent f2e7fcacc8
commit f0ae3fc656
2 changed files with 69 additions and 0 deletions
+5
View File
@@ -289,6 +289,11 @@ local function newer_pane(s, row)
if row.section == "untracked" then
return worktree_pane(s.repo, entry.path)
end
if row.section == "unmerged" then
if vim.uv.fs_stat(vim.fs.joinpath(s.repo.worktree, entry.path)) then
return worktree_pane(s.repo, entry.path)
end
end
return nil
end