There's a textmate bundle for wow lua over here:
http://www.wowace.com/addons/wow-textmate/. You can use textmate bundles in sublime text 2 by dropping the bundle in the packages folder.
Interesting enough, there's also a bundle for the toc format:
- In sublime text 2, open up package control with ⌘-⇧-p or ctrl-shift- p on windows.
- Type "Ins" to search for "Package Control: Install Package" and hit enter.
- Search for "wow", the first item in the list should be the one.