Add automatic indentation detection