summaryrefslogtreecommitdiffstats
path: root/vimrc
diff options
context:
space:
mode:
Diffstat (limited to 'vimrc')
-rw-r--r--vimrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/vimrc b/vimrc
index b9556b2..cd64033 100644
--- a/vimrc
+++ b/vimrc
@@ -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