editorconfig-sublime icon indicating copy to clipboard operation
editorconfig-sublime copied to clipboard

Deletes lines of insert_final_newline = false

Open gserrg opened this issue 5 years ago • 3 comments

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

gserrg avatar Mar 06 '19 08:03 gserrg

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

sindresorhus avatar Mar 06 '19 08:03 sindresorhus

#44

Yes, you broke the plugin

gserrg avatar Mar 06 '19 17:03 gserrg

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/

gserrg avatar Mar 06 '19 17:03 gserrg