Skip to content

Commit 32f3422

Browse files
committed
fix(skim): strip unsupported fzf flag values
1 parent 1cd4d8f commit 32f3422

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

lua/fzf-lua/config.lua

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -744,6 +744,13 @@ function M.normalize_opts(opts, globals, __resume_key) ---@diagnostic disable
744744
local bin, version, changelog = (function()
745745
if opts.__SK_VERSION then
746746
return "sk", opts.__SK_VERSION, {
747+
-- All fzf flags values not support by skim
748+
["99.9.9"] = {
749+
fzf_opts = {
750+
["--border"] = { "none" },
751+
["--info"] = { "inline-right" },
752+
}
753+
},
747754
["1.5.3"] = {
748755
fzf_opts = {
749756
["--border"] = { "plain", "rounded", "double", "thick", "light-double-dashed",
@@ -772,8 +779,6 @@ function M.normalize_opts(opts, globals, __resume_key) ---@diagnostic disable
772779
["--highlight-line"] = false,
773780
["--gutter"] = false,
774781
["--border-label"] = false,
775-
["--border"] = { "none" },
776-
["--info"] = { "inline-right" },
777782
}
778783
},
779784
}

0 commit comments

Comments
 (0)