Fuzzy completion matching (#5320)

* Implement fuzzy match algorithm for suggestions

* Use MatchingAlgorithm for custom completions
This commit is contained in:
Richard
2022-04-24 23:43:18 +02:00
committed by GitHub
parent f6b99b2d8f
commit 9771270b38
7 changed files with 138 additions and 25 deletions

View File

@ -187,6 +187,7 @@ let-env config = {
footer_mode: "25" # always, never, number_of_rows, auto
quick_completions: true # set this to false to prevent auto-selecting completions when only one remains
partial_completions: true # set this to false to prevent partial filling of the prompt
completion_algorithm: "prefix" # prefix, fuzzy
animate_prompt: false # redraw the prompt every second
float_precision: 2
use_ansi_coloring: true