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

- 🟢 `toolkit fmt`
- 🟢 `toolkit clippy`
- 🟢 `toolkit test`
- 🟢 `toolkit test stdlib`

# After Submitting

N/A
This commit is contained in:
Douglas 2024-12-16 19:20:54 -05:00 committed by GitHub
parent 5615d21ce9
commit 6367fb6e9e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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 }