Weird formatting inside raw() for CLRF line endings
Hi
For files with CLRF line endings formatting inside raw(``) goes haywire, creates newlines after each line. If the line ending is changed to LF then the formatting is intact.
Thanks for the report! Is there a specific reason you use CLRF line endings? Is this with Windows and VSCode?
Hi
Yes, I use vscode on Windows 10.
Changing to LF line ending can fix this problem.
Yes I figured it. Now I am using Mac.
The rescript-lang/syntax repo is obsolete and will be archived soon. If this issue is still relevant, please reopen in the compiler repo (https://github.com/rescript-lang/rescript-compiler) or comment here to ask for it to be moved. Thank you for your contributions.