call esindent.setOptions() before transforming nodes.