Raimondi/delimitMate — pull request #84 by gyim (2012-02-23 20:47:40+00:00)
Title: Allow CR expansion for arbitrary line suffix

The current CR expansion mechanism has a limitation: it checks only the character after the cursor. It causes the following problem: (typical JavaScript code):

$(document).ready(function() {})

When the user presses ``, the result is the following:

$(document.ready(function() {)

}

This commit fixes this problem by pasting the whole line suffix (`})`) to the last line.