Convert space indentation to tabs
Fix logic for using auto_item parameter