We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6288847 commit cec161cCopy full SHA for cec161c
1 file changed
src/commands/snippets.rs
@@ -25,8 +25,9 @@ async fn autocomplete_snippet<'a>(
25
.collect()
26
};
27
28
- futures::stream::iter(snippet_list)
29
- .filter(move |name| futures::future::ready(name.contains(partial)))
+ futures::stream::iter(snippet_list).filter(move |name| {
+ futures::future::ready(name.to_lowercase().contains(partial.to_lowercase()))
30
+ })
31
}
32
33
/// Show a snippet
0 commit comments