fix(git): follow symlinks when resolving a buffer's repo
This commit is contained in:
+2
-1
@@ -94,7 +94,8 @@ local function do_refresh(r)
|
||||
if not vim.api.nvim_buf_is_valid(buf) then
|
||||
r.buffers[buf] = nil
|
||||
else
|
||||
local status = statuses[vim.api.nvim_buf_get_name(buf)]
|
||||
local status =
|
||||
statuses[vim.fn.resolve(vim.api.nvim_buf_get_name(buf))]
|
||||
if vim.b[buf].git_status ~= status then
|
||||
vim.b[buf].git_status = status
|
||||
dirty = true
|
||||
|
||||
Reference in New Issue
Block a user