From d651cc30e3ec2a6f61a2fe16ae106937ede9e50b Mon Sep 17 00:00:00 2001 From: Vansh Nath Date: Mon, 7 Apr 2025 13:09:21 +0200 Subject: [PATCH] Update documentation --- crates/nu-utils/src/default_files/doc_config.nu | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/crates/nu-utils/src/default_files/doc_config.nu b/crates/nu-utils/src/default_files/doc_config.nu index 874628cf2c..5b53d67de2 100644 --- a/crates/nu-utils/src/default_files/doc_config.nu +++ b/crates/nu-utils/src/default_files/doc_config.nu @@ -115,12 +115,13 @@ $env.config.cursor_shape.vi_normal = "underscore" # Cursor shape in normal vi m # $env.config.completions.* # Apply to the Nushell completion system -# algorithm (string): Either "prefix" or "fuzzy" +# algorithm (string): "prefix", "substring" or "fuzzy" $env.config.completions.algorithm = "prefix" # sort (string): One of "smart" or "alphabetical" # In "smart" mode sort order is based on the "algorithm" setting. # When using the "prefix" algorithm, results are alphabetically sorted. +# When using the "substring" algorithm, results are alphabetically sorted. # When using the "fuzzy" algorithm, results are sorted based on their fuzzy score. $env.config.completions.sort = "smart"