From 6383a82d03a9abba91f81007a0eadec9b707e60d Mon Sep 17 00:00:00 2001 From: Jackson Moore Date: Sat, 5 Sep 2026 14:49:57 +0200 Subject: Guard missing commit finder --- 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 feeb096..f2a8366 100644 --- a/yazi-enter.yazi/main.lua +++ b/yazi-enter.yazi/main.lua @@ -125,6 +125,9 @@ local commit = ya.sync(function(_, mode, submitted_query) local tab = cx.active local finder = tab.finder local target = tab.current.hovered + if finder == nil then + return 0 + end return 0 end) -- cgit v1.2.3