summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjluehrs2 <jluehrs2@uiuc.edu>2008-04-22 01:02:25 -0500
committerjluehrs2 <jluehrs2@uiuc.edu>2008-04-22 01:02:25 -0500
commit7c4f430c76d1c5db4f5759138a890955e3513fd1 (patch)
tree70edfa3b4c593d7ce48b29d6ae6bdbe2a80bd3fa
parent192013e12aeeb4e173b9346c7cedfc448d029590 (diff)
downloadvim-foldtext-7c4f430c76d1c5db4f5759138a890955e3513fd1.tar.gz
vim-foldtext-7c4f430c76d1c5db4f5759138a890955e3513fd1.zip
turns out i did need to remove the most recent item here
-rw-r--r--vimrc1
1 files changed, 1 insertions, 0 deletions
diff --git a/vimrc b/vimrc
index cd64033..29ae370 100644
--- a/vimrc
+++ b/vimrc
@@ -294,6 +294,7 @@ function Latex_foldtext() " {{{
if type == ''
let type = new_type
elseif type != new_type
+ let item_name = item_name[0:-2]
break
endif
let item_name += [item_index]