From 8d35de5dac11f6fed7f03ae2e314c39c899d0846 Mon Sep 17 00:00:00 2001 From: bhagwan Date: Mon, 16 Dec 2024 08:32:13 -0800 Subject: [PATCH] fix(skim): fix auto-detect (closes #1574) --- lua/fzf-lua/config.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/fzf-lua/config.lua b/lua/fzf-lua/config.lua index d978e38d..ef261b2d 100644 --- a/lua/fzf-lua/config.lua +++ b/lua/fzf-lua/config.lua @@ -486,7 +486,7 @@ function M.normalize_opts(opts, globals, __resume_key) end -- are we using skim? - opts._is_skim = opts.fzf_bin:find("sk") ~= nil + opts._is_skim = opts.fzf_bin:match("sk$") ~= nil -- enforce fzf minimum requirements vim.g.fzf_lua_fzf_version = nil