projects
/
notmuch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3dc96c6
)
fix a corner case with folding a single line citation
author
Bart Trojanowski
<bart@jukie.net>
Fri, 20 Nov 2009 06:39:22 +0000
(
01:39
-0500)
committer
Bart Trojanowski
<bart@jukie.net>
Wed, 25 Nov 2009 05:48:50 +0000
(
00:48
-0500)
vim/plugin/notmuch.vim
patch
|
blob
|
history
diff --git
a/vim/plugin/notmuch.vim
b/vim/plugin/notmuch.vim
index 94eb0bbab2b9ea76e06d21022ee4d75ab52704c4..3b16a995acee7221fc175c232a362a58d2b596e2 100644
(file)
--- a/
vim/plugin/notmuch.vim
+++ b/
vim/plugin/notmuch.vim
@@
-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 = ''