change files endings (Mac,Unix,Windows) to Unix (aka \n). (windows with sublime3 will be Windows (aka \r\n))
- you should use sublime package manager
- use
cmd+shift+PthenPackage Control: Install Package - look for
Line Endings Unifyand install it. - OR, Clone or unpack to "Line Endings Unify" folder inside "Packages" of your Sublime installation.
- drag folder to sublime
- use
cmd+shift+PthenLine Endings Unify - or bind some key in your user key binding:
{
"keys": ["ctrl+alt+shift+l"],
"command": "line_endings_unify"
}- check file extentions to be handled
- done
always backup your data