Fix syntax detection in ST3.

Fixes issue #7 (thanks @skuroda!)