Tested with Sublime Text 2

Now works with both Sublime Text 2 and 3.