forked from extern/nushell
Made completion matching case-insensitive by default for windows (#3420)
This commit is contained in:
parent
57e2fec497
commit
874ecd6c88
@ -44,6 +44,10 @@ impl NuCompleter {
|
||||
let matcher = matcher.as_str();
|
||||
let matcher: &dyn Matcher = match matcher {
|
||||
"case-insensitive" => &matchers::case_insensitive::Matcher,
|
||||
"case-sensitive" => &matchers::case_sensitive::Matcher,
|
||||
#[cfg(target_os = "windows")]
|
||||
_ => &matchers::case_insensitive::Matcher,
|
||||
#[cfg(not(target_os = "windows"))]
|
||||
_ => &matchers::case_sensitive::Matcher,
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user