sindresorhus / editorconfig-sublime

Sublime Text plugin for EditorConfig - Helps developers maintain consistent coding styles between different editors
MIT License
1.77k stars 108 forks source link

insert_final_newline = false | not working #44

Closed jomo closed 5 years ago

jomo commented 9 years ago

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 9 years ago

Might be a duplicate of #33? not sure.

sindresorhus commented 9 years ago

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

jtsternberg commented 6 years ago

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.