I tried using the AutoFormat package with Sublime Text 2 and found that it had not been updated to work with the updated API in Sublime Text 2.
I have posted the fix to gist here https://gist.github.com/1730757.
Hope this helps anyone else with similar problems.
Simon