mirror of
https://github.com/nushell/nushell
synced 2025-01-13 21:55:07 +00:00
Made completion matching case-insensitive by default for windows (#3420)
This commit is contained in:
parent
57e2fec497
commit
874ecd6c88
1 changed files with 4 additions and 0 deletions
|
@ -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 a new issue