Repository navigation
Add fallback completion algorithm - #18965
j-chmielewski wants to merge 23 commits into
Conversation
|
Hey, just a bot checking in! You edited files related to the configuration. |
|
we're working on a big completions pr right now #18791 so we probably won't look at this until after it lands. |
|
Alright, fingers crossed for it landing soon then. I'll keep an eye out for conflicts once it does. |
|
@fdncred merged main. Perhaps we could move on with this? I'll probably be able to set aside some time over the weekend if you find that any corrections are needed. |
|
@kronberger-droid @philocalyst Please give your input on this PR. |
|
I will take a look. |
Description
Adds the
fallbackcompletion algorithm for #11211.With
completions.algorithm = "fallback", Nushell shows prefixmatches when available and falls back to fuzzy matches only when there
are no prefix matches.
User-facing changes (Release notes)
Added a
"fallback"completion algorithm. It prefers prefix matchesand uses fuzzy matching only when no prefix matches exist.
Additional notes
Fixes #11211