Add compatibility for Sublime Text 3
Merge pull request #2231 from ccampbell/master

Smart Match - add compatibility for Sublime Text 3