diff options
author | Adam Stankiewicz <sheerun@sher.pl> | 2015-03-08 21:32:50 -0700 |
---|---|---|
committer | Adam Stankiewicz <sheerun@sher.pl> | 2015-03-08 21:32:50 -0700 |
commit | 23913e0598d23ec5948b71ea78c549b39cecf764 (patch) | |
tree | f21bd3dd20a7fe0e46bed7dd11329a204fe4cc3f /indent/tex.vim | |
parent | 1c2123117537fb4bccf87fcf39abc05eaf950ec2 (diff) | |
download | vim-polyglot-1.12.1.tar.gz vim-polyglot-1.12.1.zip |
Updatev1.12.1
Diffstat (limited to 'indent/tex.vim')
-rw-r--r-- | indent/tex.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indent/tex.vim b/indent/tex.vim index 93f70ece..e7653d03 100644 --- a/indent/tex.vim +++ b/indent/tex.vim @@ -17,8 +17,8 @@ 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 = '\\\@<!\%(\\begin\|\\left\|\\(\|\\\[\|{\)' -let s:close_pat = '\\\@<!\%(\\end\|\\right\|\\)\|\\\]\|}\)' +let s:open_pat = '\\\@<!\%(\\begin\|\\left\a\@!\|\\(\|\\\[\|{\)' +let s:close_pat = '\\\@<!\%(\\end\|\\right\a\@!\|\\)\|\\\]\|}\)' let s:list_open_pat = '\\\@<!\\begin{\%(' . join(s:list_envs, '\|') . '\)}' let s:list_close_pat = '\\\@<!\\end{\%(' . join(s:list_envs, '\|') . '\)}' |