diff options
author | jluehrs2 <jluehrs2@uiuc.edu> | 2008-04-21 23:24:38 -0500 |
---|---|---|
committer | jluehrs2 <jluehrs2@uiuc.edu> | 2008-04-21 23:24:38 -0500 |
commit | 87e6da2d59e68e69b774ddde9778b27e55bda37a (patch) | |
tree | 3ff808d99af5f8a093ad9ed520108547d38608ae /vimrc | |
parent | e50330043ab3bf5ef06906f0a7c73f01e85b13e1 (diff) | |
download | conf-87e6da2d59e68e69b774ddde9778b27e55bda37a.tar.gz conf-87e6da2d59e68e69b774ddde9778b27e55bda37a.zip |
make this regex more exact
Diffstat (limited to 'vimrc')
-rw-r--r-- | vimrc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -299,7 +299,7 @@ function Latex_foldtext() " {{{ endif " }}} " format list items nicely {{{ - let matches = matchlist(line, '\\item\%(\[\(.*\)\]\)\?') + let matches = matchlist(line, '\\item\%(\[\([^]]*\)\]\)\?') if !empty(matches) let item_name = [] let item_index = 0 |