Vim 7.0.237 is driving me nuts with indentexpr=HtmlIndentGet(v:lnum)
. When I edit JavaScript in a <script>
tag indented to match the surrounding html and press enter, it moves the previous line to column 0. When I autoindent the whole file the script moves back to the right.
Where is vim's non-annoying JavaScript-in-HTML/XHTML indent?