sindresorhus/editorconfig-sublime

insert_final_newline = false | not working

jomo opened this issue · 3 comments

jomo commented

From the docs:

insert_final_newline: set to "true" ensure file ends with a newline when saving
and "false" to _ensure it doesn't_.

As I understand this, it should remove final newlines if present. That doesn't happen.

jomo commented

Might be a duplicate of #33? not sure.

Yes, it probably should, but Sublime doesn't do this, so this plugin will have to remove final newlines manually. PR welcome ;)

Pretty please somebody submit a PR. :) Alternatively, @sindresorhus, if you could point out the best way to work on the extension... Working on other's extensions is not something I have tried yet.