nu-cli/completions: removed default filter for command (#5126)

This commit is contained in:
Herlon Aguiar
2022-04-08 01:45:04 +02:00
committed by GitHub
parent bdfad6b1de
commit 48fa25fd42

View File

@ -266,4 +266,9 @@ impl<'a> Completer for CommandCompletion<'a> {
(output, options) (output, options)
} }
// Replace base filter with no filter once all the results are already based in the current path
fn filter(&self, _: Vec<u8>, items: Vec<Suggestion>, _: CompletionOptions) -> Vec<Suggestion> {
items
}
} }