Skip to content

Commit

Permalink
fix(fzf.vim profile): convert g:fzf_colors fallback hls (closes 1100)
Browse files Browse the repository at this point in the history
  • Loading branch information
ibhagwan committed Mar 23, 2024
1 parent 8c76df6 commit 64fa7b5
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion lua/fzf-lua/profiles/fzf-vim.lua
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,15 @@ return {
["--info"] = false,
["--layout"] = false,
},
fzf_colors = vim.g.fzf_colors,
fzf_colors = (function()
return vim.tbl_map(function(v)
local new_v = { v[1], { v[2] } }
for i = 3, #v do
table.insert(new_v[2], v[i])
end
return new_v
end, vim.g.fzf_colors)
end)(),
keymap = {
builtin = {
["<F1>"] = "toggle-help",
Expand Down

0 comments on commit 64fa7b5

Please sign in to comment.