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 lucascdn committed Apr 29, 2024
1 parent c95f73f commit 804390a
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 804390a

Please sign in to comment.