From e3127f6285ac2cbfe9905ca2e1cb3d43de0801ce Mon Sep 17 00:00:00 2001 From: Eman Resu <78693624+quatquatt@users.noreply.github.com> Date: Tue, 10 Dec 2024 15:54:13 -0500 Subject: [PATCH] yazi: fix deprecation warning with smart-paste plugin See https://github.com/sxyazi/yazi/pull/1891 --- apps/core/yazi/keybinds.nix | 2 +- apps/core/yazi/plugins/smart-paste.lua | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/core/yazi/keybinds.nix b/apps/core/yazi/keybinds.nix index be82eedb..b80540a7 100644 --- a/apps/core/yazi/keybinds.nix +++ b/apps/core/yazi/keybinds.nix @@ -32,7 +32,7 @@ in { desc = "Paste into a directory if we're hovering over it"; on = lib.singleton "p"; - run = "plugin --sync smart-paste"; + run = "plugin smart-paste"; } { diff --git a/apps/core/yazi/plugins/smart-paste.lua b/apps/core/yazi/plugins/smart-paste.lua index cc5399f9..33a2ea0d 100644 --- a/apps/core/yazi/plugins/smart-paste.lua +++ b/apps/core/yazi/plugins/smart-paste.lua @@ -1,3 +1,4 @@ +--- @sync entry return { entry = function()