From a7ff39fe3e8da94b50bc5595f77dc7097f546b52 Mon Sep 17 00:00:00 2001 From: ChrHorn Date: Mon, 15 Aug 2022 17:18:04 +0200 Subject: remove duplicate entries from theme picker (#3439) --- helix-term/src/ui/mod.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'helix-term') diff --git a/helix-term/src/ui/mod.rs b/helix-term/src/ui/mod.rs index 113bc486..560e9155 100644 --- a/helix-term/src/ui/mod.rs +++ b/helix-term/src/ui/mod.rs @@ -260,6 +260,7 @@ pub mod completers { names.push("default".into()); names.push("base16_default".into()); names.sort(); + names.dedup(); let mut names: Vec<_> = names .into_iter() -- cgit v1.2.3-70-g09d2