Skip to content

Instantly share code, notes, and snippets.

@Sixeight
Created April 9, 2014 05:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Sixeight/10228940 to your computer and use it in GitHub Desktop.
Save Sixeight/10228940 to your computer and use it in GitHub Desktop.
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