Make it work with both Sublime Text 2 and 3.