Closed MangelMaxime closed 2 years ago
Good catch!
I just published v0.4.0
to fix this issue and include two additional options (preserveTrailingNewline
and removeRedundantIndentations
). Please see README for usages if you need them.
Thanks again!
Thank you for the quick fix.
I think removeRedundantIndentations
is a really interesting option for some of my use cases.
Hello,
I am importing the file content via
./../demo/src/Demo.fs#L15-L16
Which correspond to these lines in my files:
which generates:
As you can see, there is a "huge" indentation on the second line because the indentation on the first line has been stripped I believe.
If I use a first line without indentation, I get the expected result:
gives: