Disable Atom to add newline automatically

The Whitespace Package in Atom will cause problems when man checks the code in GIT. The changes of the file because of  the newlines become hard to be compared.

In this issue, https://github.com/atom/atom/issues/3725, it is suggested to uncheck “Ensure single trailing newline”. It works for me in GIT, that all the items must be unchecked or just uninstall the Whitespace Package.

Advertisements