Skip to content

Commit

Permalink
fix: remove duplicate lazyloaded items in colorscheme (#2951)
Browse files Browse the repository at this point in the history
  • Loading branch information
fcying committed Mar 18, 2024
1 parent e9e01d6 commit 04dfe37
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 @@ -988,7 +988,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 04dfe37

Please sign in to comment.