refactor(git): rename refresh event to change, gate on actual diff
This commit is contained in:
@@ -7,7 +7,7 @@ local Decorator = require("nvim-tree.api").Decorator
|
||||
|
||||
local repo = require("git.core.repo")
|
||||
|
||||
repo.on("refresh", function()
|
||||
repo.on("change", function()
|
||||
require("nvim-tree.api").tree.reload()
|
||||
end)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user