Hello all, i'm having problems with automatic indentation. The indentation does not perform well if a commented line appears just above an \end command. here is an example
\begin{align} \sqrt{R^{2}+\left(\omega_{\rm a} L-\frac{1}{\omega_{\rm a} C}\right)^{2}} &= \omega_{\rm a} L %\left(\frac{1}{\omega_{\rm a} C}\right)^{2} &= 2 \frac{L}{C}-R^{2} \\ \end{align} despejamos $\omega_{\rm a}$ \begin{align} \omega_{\rm a} &= \frac{1}{C\sqrt{2 \frac{L}{C}-R^{2}}}. \label{ec:res_frec_L} \end{align} in my .vimrc i have filetype on filetype plugin indent on let g:tex_flavor = "latex" thank you, Gastón ------------------------------------------------------------------------------ _______________________________________________ Vim-latex-devel mailing list Vim-latex-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vim-latex-devel