Skip to content

Commit

Permalink
fix: remove duplicate lazyloaded items in colorscheme (nvim-telescope…
Browse files Browse the repository at this point in the history
  • Loading branch information
fcying authored and Weyaaron committed Mar 19, 2024
1 parent 84f3d99 commit 3db5636
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 3db5636

Please sign in to comment.