Current version of Sprig is [2.22](https://github.com/pseudomuto/protoc-gen-doc/blob/master/go.mod#L7). Latest version is 3.3. In version [3.2](https://github.com/Masterminds/sprig/releases/tag/v3.2.0) there were several utility functions added. It would be a major version change but it's worth doing due to the significant amount of template functions added.