diff options
| -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 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) |