pub fn completion_fuzzy_matcher() -> &'static ArinaeMatcherExpand description
Conservative fuzzy matcher for completion suggestions.
Completion should rescue near-misses like lap -> ldap, but it should not
spill short stubs like ld into unrelated commands. Arinae with typo mode
disabled keeps that balance while still handling subsequence-style fuzzy
matches well.
ยงExamples
use osp_cli::core::fuzzy::completion_fuzzy_matcher;
use skim::fuzzy_matcher::FuzzyMatcher;
assert!(completion_fuzzy_matcher()
.fuzzy_match("ldap", "lap")
.is_some());