Any package to auto indent like Emacs?


in Emacs, when you press tab, the indentation go right where it should be.
I tried emacs-flow package, but it don’t work when you close brackets in a sentence line, making the line you are trying to indent be indented with 1 more tab than it should.