Auto-detection of indent-rule