Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Empty lines in multi-line string get moved #577

Closed
theimowski opened this issue Nov 28, 2019 · 1 comment
Closed

Empty lines in multi-line string get moved #577

theimowski opened this issue Nov 28, 2019 · 1 comment

Comments

@theimowski
Copy link
Member

Issue created from fantomas-ui

As in the example - looks like the empty lines from the string itself get moved before its declaration

Code

let x = """some

content

with empty lines"""

Result

let x


 = """some
content
with empty lines"""

Options

Fantomas 3.0.0

Name Value
IndentOnTryWith false
IndentSpaceNum 4
KeepNewlineAfter false
PageWidth 120
ReorderOpenDeclaration false
SemicolonAtEndOfLine false
SpaceAfterComma true
SpaceAfterSemicolon true
SpaceAroundDelimiter true
SpaceBeforeArgument true
SpaceBeforeColon false
StrictMode false
@nojaf
Copy link
Contributor

nojaf commented Dec 15, 2019

Fixed by #593

@nojaf nojaf closed this as completed Dec 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants