mirror of
https://github.com/nushell/nushell.git
synced 2025-08-10 14:28:11 +02:00
nu-table/ Add table.indent
configuration (#9983)
Hi there. Am I got it right? ref: https://github.com/zhiburt/tabled/issues/358 cc: @fdncred --------- Signed-off-by: Maxim Zhiburt <zhiburt@gmail.com>
This commit is contained in:
@ -42,6 +42,7 @@ fn try_build_map(
|
||||
Span::unknown(),
|
||||
0,
|
||||
usize::MAX,
|
||||
(config.table_indent.left, config.table_indent.right),
|
||||
);
|
||||
let result = ExpandedTable::new(None, false, String::new()).build_map(&cols, &vals, opts);
|
||||
match result {
|
||||
@ -66,6 +67,7 @@ fn try_build_list(
|
||||
Span::unknown(),
|
||||
0,
|
||||
usize::MAX,
|
||||
(config.table_indent.left, config.table_indent.right),
|
||||
);
|
||||
let result = ExpandedTable::new(None, false, String::new()).build_list(&vals, opts);
|
||||
match result {
|
||||
|
Reference in New Issue
Block a user