mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-12-26 11:24:53 +01:00
vim: fix message parsing patterns
if a message did not contain a trailing CR, we may not be able to match ^\f
This commit is contained in:
parent
b5e28d8615
commit
becc49eee7
1 changed files with 11 additions and 11 deletions
|
@ -33,17 +33,17 @@ let s:notmuch_defaults = {
|
|||
\ 'g:notmuch_show_fold_bodies': 0 ,
|
||||
\ 'g:notmuch_show_fold_headers': 1 ,
|
||||
\
|
||||
\ 'g:notmuch_show_message_begin_regexp': '^message{' ,
|
||||
\ 'g:notmuch_show_message_end_regexp': '^message}' ,
|
||||
\ 'g:notmuch_show_header_begin_regexp': '^header{' ,
|
||||
\ 'g:notmuch_show_header_end_regexp': '^header}' ,
|
||||
\ 'g:notmuch_show_body_begin_regexp': '^body{' ,
|
||||
\ 'g:notmuch_show_body_end_regexp': '^body}' ,
|
||||
\ 'g:notmuch_show_attachment_begin_regexp': '^attachment{' ,
|
||||
\ 'g:notmuch_show_attachment_end_regexp': '^attachment}' ,
|
||||
\ 'g:notmuch_show_part_begin_regexp': '^part{' ,
|
||||
\ 'g:notmuch_show_part_end_regexp': '^part}' ,
|
||||
\ 'g:notmuch_show_marker_regexp': '^\\(message\\|header\\|body\\|attachment\\|part\\)[{}].*$',
|
||||
\ 'g:notmuch_show_message_begin_regexp': 'message{' ,
|
||||
\ 'g:notmuch_show_message_end_regexp': 'message}' ,
|
||||
\ 'g:notmuch_show_header_begin_regexp': 'header{' ,
|
||||
\ 'g:notmuch_show_header_end_regexp': 'header}' ,
|
||||
\ 'g:notmuch_show_body_begin_regexp': 'body{' ,
|
||||
\ 'g:notmuch_show_body_end_regexp': 'body}' ,
|
||||
\ 'g:notmuch_show_attachment_begin_regexp': 'attachment{' ,
|
||||
\ 'g:notmuch_show_attachment_end_regexp': 'attachment}' ,
|
||||
\ 'g:notmuch_show_part_begin_regexp': 'part{' ,
|
||||
\ '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_tags_regexp': '(\([^)]*\))$' ,
|
||||
|
|
Loading…
Reference in a new issue