modify the behavior when use newline-and-indent