Currently, function bodies are parsed as string literals which means that when formatting the code via prettier-plugin-sql-cst, the function bodies are left as is. I work on a project with quite a few functions where we would benefit a great deal from having the function bodies be formatted. Would you be up for adding support for it? :)
I'd also be interested in working on this, if this could be considered a good-first-issue.
And thanks for your continued work on this project! :)