Lua Auto Indent is a small program that can neatly indent large amounts of messy code that would normally be tedious work.
I've tested this on all my addons as well as many popular ones (over 60,000 lines) and have had no issues, with that being said this is still not 100% bug free so it's possible it might not indent correctly in some cases.
Please leave a comment if you have any suggestions, feedback or to report a bug.
v1.5 - Sorry for the all the recent updates found 2 new bugs that needed fixing and re-did all the regex patterns for much better optimization.
Do not edit the config.ini or rename the files.
Thank you for using my program. =)