" LaTeX indent file (part of LaTeX Box) " Maintainer: David Munger (mungerd@gmail.com) if exists("g:LatexBox_custom_indent") && ! g:LatexBox_custom_indent finish endif if exists("b:did_indent") finish endif let b:did_indent = 1 setlocal indentexpr=LatexBox_TexIndent() setlocal indentkeys=0=\\end,0=\\end{enumerate},0=\\end{itemize},0=\\end{description},0=\\right,0=\\item,0=\\),0=\\],0},o,O,0\\ let s:list_envs = ['itemize', 'enumerate', 'description'] " indent on \left( and on \(, but not on ( " indent on \left[ and on \[, but not on [ " indent on \left\{ and on {, but not on \{ let s:open_pat = '\\\@