sindresorhus / editorconfig-sublime

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

Deletes lines of insert_final_newline = false #78

Open gserrg opened 5 years ago

gserrg commented 5 years ago

This parameter should not delete lines, it is only to add them.

insert_final_newline: set to true to ensure file ends with a newline when saving and false to ensure it doesn't

see https://github.com/editorconfig/editorconfig/issues/269

sindresorhus commented 5 years ago

https://github.com/sindresorhus/editorconfig-sublime/issues/44

gserrg commented 5 years ago

44

Yes, you broke the plugin

gserrg commented 5 years ago

In accordance with the editorconfig documentation, this option only requires adding lines, it does not require removal. See the discussion for relevant issues https://github.com/editorconfig/editorconfig/issues/