Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
alignStripMarginStrings should respect pipe char on first line #324
I would like the input to look like this:
If the first character on the first line is a pipe character (strip margin character), the pipe characters on the following lines should be indented such that they are aligned with the pipe character on the fist line and not with the last double quote.
Finally got around to this issue :) If the first characters is a pipe the indentation increases by one space. It was tricker than I expected since I had to account for interpolated strings, which have a completely different structure compared to string literals. Let me know if you find any issues with this new feature.
PS. hoping to get a release out today/tomorrow.