From ca4222277ebabeb66d149d608539ea505b0b4178 Mon Sep 17 00:00:00 2001 From: migraine-user Date: Mon, 31 Mar 2025 21:38:50 +0200 Subject: [PATCH] Fix typo in doc_config.nu + small description (#15461) # Description ``` # table.* # table_mode (string): # One of: "default", "basic", "compact", "compact_double", "heavy", "light", "none", "reinforced", # "rounded", "thin", "with_love", "psql", "markdown", "dots", "restructured", "ascii_rounded", # or "basic_compact" # Can be overridden by passing a table to `| table --theme/-t` $env.config.table.mode = "default" ``` In `doc_config.nu`, it refers to `table_mode` which does not exist under `$env.config.table`. There is now a short description of this field as well. --- 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 33296bc9c2..874628cf2c 100644 --- a/crates/nu-utils/src/default_files/doc_config.nu +++ b/crates/nu-utils/src/default_files/doc_config.nu @@ -295,7 +295,8 @@ $env.config.display_errors.termination_signal = true $env.config.footer_mode = 25 # table.* -# table_mode (string): +# mode (string): +# Specifies the visual display style of a table # One of: "default", "basic", "compact", "compact_double", "heavy", "light", "none", "reinforced", # "rounded", "thin", "with_love", "psql", "markdown", "dots", "restructured", "ascii_rounded", # or "basic_compact"