kchmck/vim-coffee-script — pull request #107 by mattsacks (2012-11-01 00:27:52+00:00)
Title: Get the previous line's indentation in an empty line

Fixes indenting a blank line to not start at column 0 but instead use
the previous line's indentation.

This case happens often when going from normal mode to insert mode with
`S` or deleting the current line with `cc`.

Hat tip to @osse for the [original implementation](https://gist.github.com/3947612).