feat(blame): support every file-shaped git:// URI
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user