I saw a mention of this problem here and there on this forum and others, and so I thought others might be interested in fixes for two issues with Lua indenting that I found with the Lua Package that comes out of the box. They’re issues with how auto indenting works with nested curly braces ({, }) and also the “elseif” keyword. I wrote up a quick blog post detailing the problems and the fixes. Hopefully they’re useful to someone else.
http://blog.lotech.org/2013/04/fixing-lua-indenting-in-sublime-text.html
Thanks,
Nathan Shafer