summaryrefslogtreecommitdiffstats
path: root/vimrc
diff options
context:
space:
mode:
Diffstat (limited to 'vimrc')
-rw-r--r--vimrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/vimrc b/vimrc
index 4559c59..e830c79 100644
--- a/vimrc
+++ b/vimrc
@@ -272,6 +272,9 @@ function Latex_foldtext() " {{{
endif
" }}}
" format list items nicely {{{
+ " XXX: nesting different types of lists doesn't give quite the correct
+ " result - an enumerate inside an itemize inside an enumerate should use
+ " (a), but here it will go back to using 1.
if line =~ '\\item'
let item_name = []
let item_depth = 0