mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-12-22 09:24:54 +01:00
fix a corner case with folding a single line citation
This commit is contained in:
parent
3dc96c6dc8
commit
1e0005e6d0
1 changed files with 1 additions and 1 deletions
|
@ -182,7 +182,7 @@ function! s:NM_cmd_show_parse(inlines)
|
|||
endif
|
||||
elseif mode_type == 'cit'
|
||||
if part_end || match(line, s:notmuch_show_citation_regexp) == -1
|
||||
let outlnum = len(info['disp']) -1
|
||||
let outlnum = len(info['disp'])
|
||||
let foldinfo = [ mode_type, mode_start, outlnum,
|
||||
\ printf('[ %d-line citation. Press "c" to show. ]', outlnum - mode_start) ]
|
||||
let mode_type = ''
|
||||
|
|
Loading…
Reference in a new issue