match synExpr with
| SynExpr.App(
argExpr = SynExpr.Match _ // | SynExpr.MatchBang
)
->
Some ident.idRange
| _ -> defaultTraverse synExpr
Result
match synExpr with
| SynExpr.App(argExpr = SynExpr.Match _) -> Some ident.idRange
| _ -> defaultTraverse synExpr
Problem description
Trivia is assigned to NamePatPair
Extra information
[ ] The formatted result breaks my code.
[ ] The formatted result gives compiler warnings.
[ ] I or my company would be willing to help fix this.
[ ] I would like a release if this problem is solved.
Options
Fantomas main branch at 2023-08-31T06:37:49Z - 369faf81362e7ddb3fce3bd4505216055af35347
Default Fantomas configuration
Did you know that you can ignore files when formatting by using a .fantomasignore file?PS: It's unlikely that someone else will solve your specific issue, as it's something that you have a personal stake in.
Issue created from fantomas-online
Code
Result
Problem description
Trivia is assigned to
NamePatPair
Extra information
Options
Fantomas main branch at 2023-08-31T06:37:49Z - 369faf81362e7ddb3fce3bd4505216055af35347
Default Fantomas configuration
Did you know that you can ignore files when formatting by using a .fantomasignore file? PS: It's unlikely that someone else will solve your specific issue, as it's something that you have a personal stake in.