Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
add empty line to last line
atom.project.eachEditor (editor) ->
buffer = editor.getBuffer()
atom.subscribe buffer, 'will-be-saved', ->
buffer.append("\n")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment