fix(git/log_view): preserve highlights across :e
This commit is contained in:
@@ -96,9 +96,7 @@ function M.read_uri(buf)
|
|||||||
repo.bind(buf, r)
|
repo.bind(buf, r)
|
||||||
|
|
||||||
util.setup_scratch(buf, { bufhidden = "delete" })
|
util.setup_scratch(buf, { bufhidden = "delete" })
|
||||||
if vim.bo[buf].filetype ~= "gitlog" then
|
vim.bo[buf].filetype = "gitlog"
|
||||||
vim.bo[buf].filetype = "gitlog"
|
|
||||||
end
|
|
||||||
|
|
||||||
attach_dispatch(buf)
|
attach_dispatch(buf)
|
||||||
populate(buf, r)
|
populate(buf, r)
|
||||||
|
|||||||
Reference in New Issue
Block a user