mihai-vlc / sublime-jsfmt

jsfmt plugin for Sublime Text

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Multiple CR at end of lines

RuairiSpain opened this issue · comments

Hi,

I'm getting an intermittent bug. I'm getting extra CRs at then end of each line. The more I save the more carriage returns I get :)

Maybe because I'm using Windows, I'll investigate further.

capture

Hi,
I'm also on windows and I will work on some changes.
The fix for this issue will also be included.

workaround: change your default_line_ending in the user settings of sublime to "unix"
reason: windows uses CRLF for line breaks whereas unix only uses LF. so it seems that somewhere in this file processing the CR is not considered as line break..

This issue is fixed in the rewrite branch and it will be merged with the master soon

merged now. Can you retest @RuairiSpain ?

works!

Thanks guys, works great.