Skip to content

Commit b2c0603

Browse files
phanenibhagwan
authored andcommitted
fix(skim): skim 0.12+ support reload
1 parent db4764d commit b2c0603

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

lua/fzf-lua/core.lua

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -960,9 +960,8 @@ M.convert_reload_actions = function(reload_cmd, opts)
960960
local fallback ---@type boolean?
961961
-- Does not work with fzf version < 0.36, fzf fails with
962962
-- "error 2: bind action not specified:" (#735)
963-
-- Not yet supported with skim
964-
if not utils.has(opts, "fzf", { 0, 36 })
965-
or utils.has(opts, "sk")
963+
-- skim require 0.12+ https://github.com/skim-rs/skim/pull/604
964+
if (not utils.has(opts, "fzf", { 0, 36 }) and not utils.has(opts, "sk", { 0, 12, 0 }))
966965
or not reload_cmd then
967966
fallback = true
968967
end

0 commit comments

Comments
 (0)