don't fold single lines

This commit is contained in:
Bart Trojanowski 2009-11-20 15:47:01 -05:00
parent 3e4f9009ae
commit 64339e6324

View file

@ -468,8 +468,10 @@ function! s:NM_cmd_show_parse(inlines)
elseif mode_type == 'cit'
if part_end || match(line, g:notmuch_show_citation_regexp) == -1
let outlnum = len(info['disp'])
if mode_start != outlnum
let foldinfo = [ mode_type, mode_start, outlnum-1,
\ printf('[ %d-line citation. Press "c" to show. ]', outlnum - mode_start) ]
endif
let mode_type = ''
endif
elseif mode_type == 'sig'