Ported to Sublime Text 3

Seems to work.