### Describe the bug Setting `$env.config.color_config.glob` gives me `cannot find column 'glob'`, looks like it is not defined in code, but I can find some references to it. https://github.com/nushell/nushell/blob/39770d41975a0dae3cdc89802215416a4c6671e4/crates/nu-color-config/src/style_computer.rs#L97 https://github.com/nushell/nushell/blob/39770d41975a0dae3cdc89802215416a4c6671e4/crates/nu-color-config/src/style_computer.rs#L114 ### How to reproduce 1. Run `$env.config.color_config.glob` ### Expected behavior no error ### Configuration | key | value | | ------------------ | ----------------------------------------------------------------- | | version | 0.100.1 | | major | 0 | | minor | 100 | | patch | 1 | | branch | | | commit_hash | | | build_os | linux-x86_64 | | build_target | x86_64-unknown-linux-gnu | | rust_version | rustc 1.82.0 (f6e511eec 2024-10-15) (built from a source tarball) | | cargo_version | cargo 1.82.0 (8f40fc59f 2024-08-21) | | build_time | 1980-01-01 00:00:00 +00:00 | | build_rust_channel | release | | allocator | mimalloc | | features | default, sqlite, trash | | installed_plugins | | Installed on NixOS from 3760910f0bbf58e25787ee685046cd2837924882
Activity
NotTheDr01ds commentedon Dec 16, 2024
Good catch - Looks like it's been missing for a while. I'll add it to the default config so it will get populated.
PerchunPak commentedon Dec 16, 2024
Looks like
$env.config.color_config.closurehas the same issuefdncred commentedon Dec 16, 2024
I thought this was
shape_globpattern?NotTheDr01ds commentedon Dec 16, 2024
@fdncred There's both. The
globis what would show in:The glob in structured data is styled via the
.glob. Whether or not that's useful, I'm not sure. Related - See #13443.On the other hand:
The argument to
foowill be styled via.shape_globpatternNotTheDr01ds commentedon Dec 16, 2024
I'm not quite sure how to demonstrate
$env.config.color_config.closure, however. The<closure xxx>will never be styled, AFAICT.It's possible that it's just another one of the "useless" settings, but I can't be sure.
fdncred commentedon Dec 17, 2024
Thanks for the examples
Add missing color_config settings (nushell#14603)
PerchunPak commentedon Dec 17, 2024
Looks like I found one more:
$env.config.color_config.shape_raw_stringEDIT: Weird, yesterday it didn't throw an error, but today these are not found
$env.config.color_config.shape_raw_string$env.config.color_config.shape_glob_interpolation$env.config.color_config.shape_garbage$env.config.color_config.shape_vardecl$env.config.color_config.shape_external_resolved$env.config.color_config.shape_keyword$env.config.color_config.shape_closureI didn't update and didn't change config since yesterday
NotTheDr01ds commentedon Dec 18, 2024
@PerchunPak Thanks!
All of the above except
shape_garbageappear to be there. I'm adding that one (building while I type this).