Since updating to 4180, ensure_newline_at_eof_on_save
doesn’t appear to work in JSON files. It’s removing all trailing newlines. So far I’ve only noticed this in JSON files.
4180 breaks ensure_newline_at_eof_on_save for JSON files
jjeffers
#1
0 Likes
jjeffers
#2
Figured it out, not Sublime’s fault.
Apparently this is a change in the Pretty JSON package, which also updated today. Looks like it added a new param "pretty_on_save": true
in its default settings. I set that to false
and it’s behaving the way I expect now.
0 Likes