Support both sublime-2 and sublime-3