Bugs item #3529684, was opened at 2012-05-25 01:02 Message generated for change (Tracker Item Submitted) made by You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=466456&aid=3529684&group_id=52322
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: https://www.google.com/accounts () Assigned to: Nobody/Anonymous (nobody) Summary: Sometimes doesn't unindent with a \end Initial Comment: For a file like \begin{test} foo\end{test} bar After the indent, it should be like \begin{test} foo\end{test} bar But when I use the automatic indent, it becomes \begin{ŧest} foo\end{test} bar After some experiment, I found out that \end were ignored every time there is other things that spaces and tabs before them on the line. Looking at the source code of the file indent/tex.vim, I found that it was about the line 180 that reads if cline =~ '^\s*\\end' && cline !~ g:tex_noindent_env I changed it on my computer to if cline =~ '^\s*\\end' && cline !~ g:tex_noindent_env And it fixed the bug ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=466456&aid=3529684&group_id=52322 ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Vim-latex-devel mailing list Vim-latex-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vim-latex-devel