From 6367fb6e9eb9af58e794e95f6c73854b00144bf8 Mon Sep 17 00:00:00 2001 From: Douglas <32344964+NotTheDr01ds@users.noreply.github.com> Date: Mon, 16 Dec 2024 19:20:54 -0500 Subject: [PATCH] Add missing color_config settings (#14603) # Description Fixes #14600 by adding a default value for missing keys in `default_config.nu`: * `$env.config.color_config.glob` * `$env.config.color_config.closure` # User-Facing Changes Will no longer error when accessing these keys. # Tests + Formatting - :green_circle: `toolkit fmt` - :green_circle: `toolkit clippy` - :green_circle: `toolkit test` - :green_circle: `toolkit test stdlib` # After Submitting N/A --- crates/nu-utils/src/default_files/default_config.nu | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crates/nu-utils/src/default_files/default_config.nu b/crates/nu-utils/src/default_files/default_config.nu index dcefb70fff..ce60d29663 100644 --- a/crates/nu-utils/src/default_files/default_config.nu +++ b/crates/nu-utils/src/default_files/default_config.nu @@ -20,6 +20,8 @@ $env.config.color_config = { row_index: green_bold record: white list: white + closure: green_bold + glob:cyan_bold block: white hints: dark_gray search_result: { bg: red fg: white }