From 04dfe370b06bc31f261b48eaa00d0d84b368becf Mon Sep 17 00:00:00 2001 From: fcying Date: Mon, 18 Mar 2024 08:28:10 +0800 Subject: [PATCH] fix: remove duplicate lazyloaded items in colorscheme (#2951) --- lua/telescope/builtin/__internal.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/telescope/builtin/__internal.lua b/lua/telescope/builtin/__internal.lua index b20cf19dc9..fc53339487 100644 --- a/lua/telescope/builtin/__internal.lua +++ b/lua/telescope/builtin/__internal.lua @@ -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")) )