add line-number and autopair