refactor(git): rename refresh event to change, gate on actual diff

This commit is contained in:
2026-05-19 10:42:13 +02:00
parent 085216a406
commit ab9b70c70a
7 changed files with 25 additions and 16 deletions
+1 -1
View File
@@ -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)