Minor docstring

This commit is contained in:
sholderbach 2024-08-04 23:16:49 +02:00
parent 5041ce9895
commit b6f4ef1d86

View File

@ -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 { pub fn document_shape(shape: SyntaxShape) -> SyntaxShape {
match shape { match shape {
SyntaxShape::CompleterWrapper(inner_shape, _) => *inner_shape, SyntaxShape::CompleterWrapper(inner_shape, _) => *inner_shape,