From cb480ed83107e92d71cc22e944bf0adedfae33c2 Mon Sep 17 00:00:00 2001 From: Jackson Moore Date: Sat, 5 Sep 2026 14:50:16 +0200 Subject: Guard hovered target highlights --- yazi-enter.yazi/main.lua | 3 +++ 1 file changed, 3 insertions(+) (limited to 'yazi-enter.yazi/main.lua') diff --git a/yazi-enter.yazi/main.lua b/yazi-enter.yazi/main.lua index 7080fbc..6e5b455 100644 --- a/yazi-enter.yazi/main.lua +++ b/yazi-enter.yazi/main.lua @@ -134,6 +134,9 @@ local commit = ya.sync(function(_, mode, submitted_query) if tostring(finder) ~= submitted_query then return 0 end + if target:highlights() == nil then + return 0 + end return 0 end) -- cgit v1.2.3