mirror of
https://github.com/zoriya/telescope.nvim.git
synced 2026-05-28 17:03:48 +00:00
fix: remove duplicate lazyloaded items in colorscheme (#2951)
(cherry picked from commit 04dfe370b0)
This commit is contained in:
@@ -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"))
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user