Just a special note to anyone else who comes across this thread and wants to do something similar with INI++ formatting, be aware that the Lua script removing tabs will break the subgroups option in INI++ because it looks for indented groups in order to rename the groups to subgroups, so by removing the tabs the extension can no longer detect indented subgroups.