cleanup and fixing yazi plugins

This commit is contained in:
Matt Nish-Lapidus 2025-05-05 11:13:21 -04:00
parent b330c1c08e
commit 9fb223704e
8 changed files with 47 additions and 78 deletions

View file

@ -1,4 +1,8 @@
require("git"):setup()
th.git = th.git or {}
th.git.modified_sign = "M"
th.git.deleted_sign = "D"
require("dir-rules"):setup()
require("restore"):setup({

View file

@ -1,13 +0,0 @@
--- @sync entry
return {
entry = function()
local h = cx.active.current.hovered
if h and h.cha.is_dir then
ya.mgr_emit("enter", {})
ya.mgr_emit("paste", {})
ya.mgr_emit("leave", {})
else
ya.mgr_emit("paste", {})
end
end,
}