Skip to content

Commit

Permalink
fix: remove duplicate lazyloaded items in colorscheme (#2951)
Browse files Browse the repository at this point in the history
(cherry picked from commit 04dfe37)
  • Loading branch information
fcying authored and Conni2461 committed May 20, 2024
1 parent d747440 commit 321d782
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/telescope/builtin/__internal.lua
Original file line number Diff line number Diff line change
Expand Up @@ -962,7 +962,7 @@ internal.colorscheme = function(opts)
colors = vim.list_extend(
colors,
vim.tbl_filter(function(color)
return color ~= before_color
return not vim.tbl_contains(colors, color)
end, vim.fn.getcompletion("", "color"))
)

Expand Down

0 comments on commit 321d782

Please sign in to comment.