Skip to content

Commit 1e866cc

Browse files
leatyibhagwan
authored andcommitted
fix(utils): hide profile should not inherit default
fix #2661
1 parent a16c537 commit 1e866cc

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

lua/fzf-lua/utils.lua

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -979,10 +979,6 @@ function M.load_profiles(profiles, silent)
979979
profiles = type(profiles) == "table" and profiles
980980
or type(profiles) == "string" and { profiles }
981981
or {}
982-
-- If the use specified only the "hide" profile, inherit the defaults
983-
if #profiles == 1 and profiles[1] == "hide" then
984-
table.insert(profiles, 1, "default")
985-
end
986982
for _, profile in ipairs(profiles) do
987983
-- backward compat, renamed "borderless_full" > "borderless-full"
988984
if profile == "borderless_full" then profile = "borderless-full" end

0 commit comments

Comments
 (0)