Sublime Forum

"trim_trailing_white_space_on_save" stopped trimming LFs

#1

If I accumulated a bunch of trailing LFs during the course of working on a document, Sublime used to helpfully get rid of them upon saving when “trim_trailing_white_space_on_save” was set (or get rid of all but one when “ensure_newline_at_eof_on_save” was set too). This has stopped working.

I think it was build 3066 (OS X) that did it.

0 Likes

trim_trailing_whitespace_on_save Not Working
#2

Just me? Can someone else reproduce this at least?

0 Likes

#3

trim_trailing_white_space_on_save has never deleted LF characters, only spaces and tabs (by design).

Perhaps you had a plugin installed previously that was doing this.

0 Likes

#4

Wow, really? Strange how the memory plays tricks.

0 Likes