diff --git a/crates/nu-command/src/formats/to/nuon.rs b/crates/nu-command/src/formats/to/nuon.rs index dcb9e34b88..f70e17b22b 100644 --- a/crates/nu-command/src/formats/to/nuon.rs +++ b/crates/nu-command/src/formats/to/nuon.rs @@ -100,6 +100,9 @@ pub fn value_to_string( depth: usize, indent: &Option, ) -> Result { + let nl = get_true_newline(indent); + let idt = get_true_indentation(depth, indent); + match v { Value::Binary { val, .. } => { let mut s = String::with_capacity(2 * val.len());