Closed jaredramirez closed 9 months ago
nushell
uses reedline
now (and not anymore rustyline
).
Currently with rustyline
you cannot customize how candidates are retrieved / displayed / selected.
If possible, I would prefer that rustyline
exposes an API which let users implement their own completion interactive loop with nucleo
or skim
or ...
Rustyline currently uses
skim
to support fuzzy completion. This is really great, but unfortunately skim doesn't work on windows at the moment. (More details here: https://github.com/kkawakam/rustyline/pull/326).There's a new implementation of a fuzzy finder in Rust, called
nucleo
written by the folks fromhelix
. This implemention is really new, but when it becomes more stable, it'd could be worth using in rustyline instead ofskim
. The main advantages would be:Due to nucleo's new-ness, there's no action to take right now, but I figured I'd open this ticket to put it on y'alls radar for whenever nucleo is stable!