You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have my own custom Rust-like syntax that depends on syn::custom_keyword for parsing with the syn crate and I'd like to offer the ability to format these Rust-like source files with prettyplease since its mostly just Rust with the addition of a handful of custom keywords.
Right now, I'm having to escape the custom keywords, call rustfmt, and then unescape the result. I figure prettyplease would be less brittle if it supported custom keywords.
Maybe I missed it, but I don't see an obvious way to support custom keywords since the crate's only public function expects a
syn::File
?Any chance this is possible? Many thanks.
The text was updated successfully, but these errors were encountered: