diff options
| author | Jackson Moore <jacksonmoore@tuta.io> | 2026-09-05 14:49:57 +0200 |
|---|---|---|
| committer | Jackson Moore <jacksonmoore@tuta.io> | 2026-09-05 14:49:57 +0200 |
| commit | 6383a82d03a9abba91f81007a0eadec9b707e60d (patch) | |
| tree | 9ea5f2bcb0f3e5d34caa9aad103d2dacf5733295 /yazi-enter.yazi | |
| parent | 0716f76c14f7d486fb428ac2b33eac0cc5a2f09c (diff) | |
Guard missing commit finder
Diffstat (limited to 'yazi-enter.yazi')
| -rw-r--r-- | yazi-enter.yazi/main.lua | 3 |
1 files changed, 3 insertions, 0 deletions
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) |