Skip to content

Commit

Permalink
fix: reload for opened directories.
Browse files Browse the repository at this point in the history
  • Loading branch information
amedama41 committed Jul 22, 2023
1 parent b58597a commit 526c720
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/vfiler/context.lua
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ function Context:reload()
return
end
local job = self:_reload_gitstatus_job(root_path)
for dir in walk_directories(self) do
for dir in walk_directories(self.root) do
if dir.opened then
if vim.fn.getftime(dir.path) > dir.time then
dir:open()
Expand Down

0 comments on commit 526c720

Please sign in to comment.