vmsynkov-zz / colonize

Visual Studio Code extension
GNU General Public License v3.0
38 stars 19 forks source link

Fixes keypress on lines that already have semicolon being ignored #1

Closed bbugh closed 7 years ago

bbugh commented 7 years ago

Based on the current code, if one of the shortcut keys is pressed and the line already has a semicolon, the keypress is ignored and the cursor doesn't move. I believe that the editor shortcut should still apply the same way in both cases.

This PR changes the ; insertion so that the cursor moves as expected whether the semicolon was added or was already there.