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 | 192013e12aeeb4e173b9346c7cedfc448d029590 (patch) | |
tree | c69988a0bc18e6518b748acf668ae6b3fa217688 /vimrc | |
parent | f20e602980b7e58b64cf4a14e32697fb177213aa (diff) | |
download | vim-foldtext-192013e12aeeb4e173b9346c7cedfc448d029590.tar.gz vim-foldtext-192013e12aeeb4e173b9346c7cedfc448d029590.zip |
make this regex more exact
Diffstat (limited to 'vimrc')
-rw-r--r-- | vimrc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -272,7 +272,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 |