fix: remove duplicate lazyloaded items in colorscheme (#2951)
This commit is contained in:
@@ -988,7 +988,7 @@ internal.colorscheme = function(opts)
|
|||||||
colors = vim.list_extend(
|
colors = vim.list_extend(
|
||||||
colors,
|
colors,
|
||||||
vim.tbl_filter(function(color)
|
vim.tbl_filter(function(color)
|
||||||
return color ~= before_color
|
return not vim.tbl_contains(colors, color)
|
||||||
end, vim.fn.getcompletion("", "color"))
|
end, vim.fn.getcompletion("", "color"))
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user