'[' should not be escaped inside regex collections. \[ was being
indented, but not \[.
---
 indent/tex.vim | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/indent/tex.vim b/indent/tex.vim
index b92d342..95865de 100644
--- a/indent/tex.vim
+++ b/indent/tex.vim
@@ -240,7 +240,7 @@ function GetTeXIndent()
         endif
       " Remove a 'shiftwidth' after a "}" or "]" while there are not "{" and 
"["
       " before them. \m for magic
-        if cline =~ '\m^\(\([^\[]*\]\)\|\([^{]*}\)\)'
+        if cline =~ '\m^\(\([^[]*\]\)\|\([^{]*}\)\)'
             let ind = ind - &sw
         endif
     endif
-- 
1.7.11.1


------------------------------------------------------------------------------
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

Reply via email to