mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-24 20:08:10 +01:00
vim: fix regex after "notmuch show" output change
The new field "excluded" was added to the output and made this regex fail. Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
This commit is contained in:
parent
de0557477d
commit
ae525b7e5b
1 changed files with 3 additions and 2 deletions
|
@ -48,7 +48,7 @@ let s:notmuch_defaults = {
|
|||
\ 'g:notmuch_show_part_end_regexp': 'part}' ,
|
||||
\ 'g:notmuch_show_marker_regexp': '\\(message\\|header\\|body\\|attachment\\|part\\)[{}].*$',
|
||||
\
|
||||
\ 'g:notmuch_show_message_parse_regexp': '\(id:[^ ]*\) depth:\([0-9]*\) match:\([0-9]*\) filename:\(.*\)$',
|
||||
\ 'g:notmuch_show_message_parse_regexp': '\(id:[^ ]*\) depth:\([0-9]*\) match:\([0-9]*\) excluded:\([0-9]*\) filename:\(.*\)$',
|
||||
\ 'g:notmuch_show_tags_regexp': '(\([^)]*\))$' ,
|
||||
\
|
||||
\ 'g:notmuch_show_signature_regexp': '^\(-- \?\|_\+\)$' ,
|
||||
|
@ -870,7 +870,8 @@ function! s:NM_cmd_show_parse(inlines)
|
|||
let msg['id'] = m[1]
|
||||
let msg['depth'] = m[2]
|
||||
let msg['match'] = m[3]
|
||||
let msg['filename'] = m[4]
|
||||
let msg['excluded'] = m[4]
|
||||
let msg['filename'] = m[5]
|
||||
endif
|
||||
|
||||
let in_message = 1
|
||||
|
|
Loading…
Reference in a new issue