mirror of
https://github.com/nushell/nushell
synced 2024-11-15 01:17:07 +00:00
Hide 7925 (#8359)
# Description Hides https://github.com/nushell/nushell/pull/7925 from config and disables by default. Option is still present in config, just hidden. # User-Facing Changes Users can no longer find `table.show_empty` in config and it is set to false by default. # Tests + Formatting Don't forget to add tests that cover your changes. Make sure you've run and fixed any issues with these commands: - `cargo fmt --all -- --check` to check standard code formatting (`cargo fmt --all` applies these changes) - `cargo clippy --workspace -- -D warnings -D clippy::unwrap_used -A clippy::needless_collect` to check that you're using the standard code style - `cargo test --workspace` to check that all tests pass # After Submitting If your PR had any user-facing changes, update [the documentation](https://github.com/nushell/nushell.github.io) after the PR is merged, if necessary. This will help us keep the docs up to date.
This commit is contained in:
parent
0df847da15
commit
d31a51e3bc
2 changed files with 1 additions and 2 deletions
|
@ -107,7 +107,7 @@ impl Default for Config {
|
||||||
Config {
|
Config {
|
||||||
filesize_metric: false,
|
filesize_metric: false,
|
||||||
table_mode: "rounded".into(),
|
table_mode: "rounded".into(),
|
||||||
table_show_empty: true,
|
table_show_empty: false,
|
||||||
external_completer: None,
|
external_completer: None,
|
||||||
use_ls_colors: true,
|
use_ls_colors: true,
|
||||||
color_config: HashMap::new(),
|
color_config: HashMap::new(),
|
||||||
|
|
|
@ -187,7 +187,6 @@ let-env config = {
|
||||||
table: {
|
table: {
|
||||||
mode: rounded # basic, compact, compact_double, light, thin, with_love, rounded, reinforced, heavy, none, other
|
mode: rounded # basic, compact, compact_double, light, thin, with_love, rounded, reinforced, heavy, none, other
|
||||||
index_mode: always # "always" show indexes, "never" show indexes, "auto" = show indexes when a table has "index" column
|
index_mode: always # "always" show indexes, "never" show indexes, "auto" = show indexes when a table has "index" column
|
||||||
show_empty: true # show 'empty list' and 'empty record' placeholders for command output
|
|
||||||
trim: {
|
trim: {
|
||||||
methodology: wrapping # wrapping or truncating
|
methodology: wrapping # wrapping or truncating
|
||||||
wrapping_try_keep_words: true # A strategy used by the 'wrapping' methodology
|
wrapping_try_keep_words: true # A strategy used by the 'wrapping' methodology
|
||||||
|
|
Loading…
Reference in a new issue