Auto-detect indentation