diff options
author | jluehrs2 <jluehrs2@uiuc.edu> | 2008-04-22 01:08:05 -0500 |
---|---|---|
committer | jluehrs2 <jluehrs2@uiuc.edu> | 2008-04-22 01:08:05 -0500 |
commit | fd110157bc351e69494bf66c6a38bea921ebb5da (patch) | |
tree | ce183c68454335d0c75df108cbf277ada68fc950 /vimrc | |
parent | 261daf83f67134a0fd002f0dc2e99ce6717dc3b9 (diff) | |
download | vim-foldtext-fd110157bc351e69494bf66c6a38bea921ebb5da.tar.gz vim-foldtext-fd110157bc351e69494bf66c6a38bea921ebb5da.zip |
don't increment the counter for labeled items
Diffstat (limited to 'vimrc')
-rw-r--r-- | vimrc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -294,7 +294,7 @@ function Latex_foldtext() " {{{ let item_name += [0] endif else - if type(item_name[item_depth]) == type(0) + if type(item_name[item_depth]) == type(0) && label == '' let item_name[item_depth] += 1 endif endif |