When reading through docs of mini.surround, I noticed that they explain only one way of defining output specification of surround, with plain strings. Later in examples the docs show that we can also use functions that return output specification.
So I wanted to add this option to surround specification. And I also added an example with output of a default function call surround.
[x ] I have read CONTRIBUTING.md
[x ] I have read CODE_OF_CONDUCT.md
When reading through docs of mini.surround, I noticed that they explain only one way of defining output specification of surround, with plain strings. Later in examples the docs show that we can also use functions that return output specification. So I wanted to add this option to surround specification. And I also added an example with output of a default function call surround.