aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPascal Kuthe2023-02-16 01:16:51 +0000
committerGitHub2023-02-16 01:16:51 +0000
commitc332b16855c72beaf0297ad1d5768ed83a768792 (patch)
tree166a0fb6fcf5b68f9dc1a2c3cc8abc277bdc0270
parent0f64f31d8b89c24910208bc50baa8ce03c00fbf3 (diff)
ignore case while filtering completions (#6008)
-rw-r--r--helix-term/src/ui/menu.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-term/src/ui/menu.rs b/helix-term/src/ui/menu.rs
index 8aa10c08..30625ace 100644
--- a/helix-term/src/ui/menu.rs
+++ b/helix-term/src/ui/menu.rs
@@ -79,7 +79,7 @@ impl<T: Item> Menu<T> {
Self {
options,
editor_data,
- matcher: Box::default(),
+ matcher: Box::new(Matcher::default().ignore_case()),
matches,
cursor: None,
widths: Vec::new(),