diff --git a/crates/nu-engine/src/documentation.rs b/crates/nu-engine/src/documentation.rs index 741180ef6a..7931280b23 100644 --- a/crates/nu-engine/src/documentation.rs +++ b/crates/nu-engine/src/documentation.rs @@ -459,7 +459,7 @@ fn get_argument_for_color_value( } } -// document shape helps showing more useful information +/// Make syntax shape presentable by stripping custom completer info pub fn document_shape(shape: SyntaxShape) -> SyntaxShape { match shape { SyntaxShape::CompleterWrapper(inner_shape, _) => *inner_shape,