fix(status): open unmerged files from status view
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user