feat(blame): support every file-shaped git:// URI

This commit is contained in:
2026-05-27 00:04:50 +02:00
parent 182e507dc7
commit 79120ed4f7
4 changed files with 102 additions and 2 deletions
+4
View File
@@ -321,6 +321,10 @@ local function side_buf(r, blob, path)
if full then
local buf = M.buf_for(r, Revision.new({ base = full }))
set_ft_from_path(buf, path)
local state = r:state(buf)
if state then
state.blob_path = path
end
return buf
end
local p = vim.fs.joinpath(r.worktree, path)