Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 1 | " Vim syntax file |
| 2 | " Language: Mutt setup files |
Bram Moolenaar | f9393ef | 2006-04-24 19:47:27 +0000 | [diff] [blame] | 3 | " Original: Preben 'Peppe' Guldberg <peppe-vim@wielders.org> |
| 4 | " Maintainer: Kyle Wheeler <kyle-muttrc.vim@memoryhole.net> |
Bram Moolenaar | 9964e46 | 2007-05-05 17:54:07 +0000 | [diff] [blame] | 5 | " Last Change: 5 Mar 2007 |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 6 | |
Bram Moolenaar | 9964e46 | 2007-05-05 17:54:07 +0000 | [diff] [blame] | 7 | " This file covers mutt version 1.5.14 (and most of CVS HEAD) |
Bram Moolenaar | f9393ef | 2006-04-24 19:47:27 +0000 | [diff] [blame] | 8 | " Included are also a few features from 1.4.2.1 |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 9 | |
| 10 | " For version 5.x: Clear all syntax items |
| 11 | " For version 6.x: Quit when a syntax file was already loaded |
| 12 | if version < 600 |
| 13 | syntax clear |
| 14 | elseif exists("b:current_syntax") |
| 15 | finish |
| 16 | endif |
| 17 | |
| 18 | " Set the keyword characters |
| 19 | if version < 600 |
| 20 | set isk=@,48-57,_,- |
| 21 | else |
| 22 | setlocal isk=@,48-57,_,- |
| 23 | endif |
| 24 | |
Bram Moolenaar | 9964e46 | 2007-05-05 17:54:07 +0000 | [diff] [blame] | 25 | syn match muttrcComment "^# .*$" contains=@Spell |
| 26 | syn match muttrcComment "^#[^ ].*$" |
| 27 | syn match muttrcComment "^#$" |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 28 | syn match muttrcComment "[^\\]#.*$"lc=1 |
| 29 | |
| 30 | " Escape sequences (back-tick and pipe goes here too) |
Bram Moolenaar | 9964e46 | 2007-05-05 17:54:07 +0000 | [diff] [blame] | 31 | syn match muttrcEscape +\\[#tnr"'Cc ]+ |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 32 | syn match muttrcEscape +[`|]+ |
| 33 | |
| 34 | " The variables takes the following arguments |
Bram Moolenaar | f9393ef | 2006-04-24 19:47:27 +0000 | [diff] [blame] | 35 | syn match muttrcString "=\s*[^ #"'`]\+"lc=1 contains=muttrcEscape |
Bram Moolenaar | 9964e46 | 2007-05-05 17:54:07 +0000 | [diff] [blame] | 36 | syn region muttrcString start=+"+ms=e skip=+\\"+ end=+"+ contains=muttrcEscape,muttrcSet,muttrcUnset,muttrcReset,muttrcToggle,muttrcCommand,muttrcAction |
| 37 | syn region muttrcString start=+'+ms=e skip=+\\'+ end=+'+ contains=muttrcEscape,muttrcSet,muttrcUnset,muttrcReset,muttrcToggle,muttrcCommand,muttrcAction |
Bram Moolenaar | f9393ef | 2006-04-24 19:47:27 +0000 | [diff] [blame] | 38 | |
| 39 | syn region muttrcShellString matchgroup=muttrcEscape keepend start=+`+ skip=+\\`+ end=+`+ contains=muttrcVarStr,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcCommand,muttrcSet |
| 40 | |
| 41 | syn match muttrcRXChars contained /[^\\][][.*?+]\+/hs=s+1 |
| 42 | syn match muttrcRXChars contained /[][|()][.*?+]*/ |
| 43 | syn match muttrcRXChars contained /'^/ms=s+1 |
| 44 | syn match muttrcRXChars contained /$'/me=e-1 |
| 45 | syn match muttrcRXChars contained /\\/ |
Bram Moolenaar | 9964e46 | 2007-05-05 17:54:07 +0000 | [diff] [blame] | 46 | " Why does muttrcRXString2 work with one \ when muttrcRXString requires two? |
Bram Moolenaar | f9393ef | 2006-04-24 19:47:27 +0000 | [diff] [blame] | 47 | syn region muttrcRXString contained start=+'+ skip=+\\'+ end=+'+ contains=muttrcRXChars |
| 48 | syn region muttrcRXString contained start=+"+ skip=+\\"+ end=+"+ contains=muttrcRXChars |
Bram Moolenaar | 9964e46 | 2007-05-05 17:54:07 +0000 | [diff] [blame] | 49 | syn region muttrcRXString2 contained start=+'+ skip=+\'+ end=+'+ contains=muttrcRXChars |
| 50 | syn region muttrcRXString2 contained start=+"+ skip=+\"+ end=+"+ contains=muttrcRXChars |
Bram Moolenaar | f9393ef | 2006-04-24 19:47:27 +0000 | [diff] [blame] | 51 | |
| 52 | syn region muttrcRXPat contained start=+'+ skip=+\\'+ end=+'\s*+ keepend skipwhite contains=muttrcRXString nextgroup=muttrcRXPat |
| 53 | syn region muttrcRXPat contained start=+"+ skip=+\\"+ end=+"\s*+ keepend skipwhite contains=muttrcRXString nextgroup=muttrcRXPat |
| 54 | syn match muttrcRXPat contained /[^-'"#!]\S\+\%(\s\|$\)/ skipwhite contains=muttrcRXChars nextgroup=muttrcRXPat |
| 55 | syn match muttrcRXDef contained "-rx\s\+" skipwhite nextgroup=muttrcRXPat |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 56 | |
| 57 | syn match muttrcSpecial +\(['"]\)!\1+ |
| 58 | |
| 59 | " Numbers and Quadoptions may be surrounded by " or ' |
| 60 | syn match muttrcNumber /=\s*\d\+/lc=1 |
| 61 | syn match muttrcNumber /=\s*"\d\+"/lc=1 |
| 62 | syn match muttrcNumber /=\s*'\d\+'/lc=1 |
Bram Moolenaar | f9393ef | 2006-04-24 19:47:27 +0000 | [diff] [blame] | 63 | syn match muttrcQuadopt +=\s*\%(ask-\)\=\%(yes\|no\)+lc=1 |
| 64 | syn match muttrcQuadopt +=\s*"\%(ask-\)\=\%(yes\|no\)"+lc=1 |
| 65 | syn match muttrcQuadopt +=\s*'\%(ask-\)\=\%(yes\|no\)'+lc=1 |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 66 | |
| 67 | " Now catch some email addresses and headers (purified version from mail.vim) |
| 68 | syn match muttrcEmail "[a-zA-Z0-9._-]\+@[a-zA-Z0-9./-]\+" |
Bram Moolenaar | f9393ef | 2006-04-24 19:47:27 +0000 | [diff] [blame] | 69 | syn match muttrcHeader "\<\%(From\|To\|C[Cc]\|B[Cc][Cc]\|Reply-To\|Subject\|Return-Path\|Received\|Date\|Replied\|Attach\)\>:\=" |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 70 | |
Bram Moolenaar | f9393ef | 2006-04-24 19:47:27 +0000 | [diff] [blame] | 71 | syn match muttrcKeySpecial contained +\%(\\[Cc'"]\|\^\|\\[01]\d\{2}\)+ |
| 72 | syn match muttrcKey contained "\S\+" contains=muttrcKeySpecial,muttrcKeyName |
| 73 | syn region muttrcKey contained start=+"+ skip=+\\\\\|\\"+ end=+"+ contains=muttrcKeySpecial,muttrcKeyName |
| 74 | syn region muttrcKey contained start=+'+ skip=+\\\\\|\\'+ end=+'+ contains=muttrcKeySpecial,muttrcKeyName |
| 75 | syn match muttrcKeyName contained "\<f\%(\d\|10\)\>" |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 76 | syn match muttrcKeyName contained "\\[trne]" |
Bram Moolenaar | f9393ef | 2006-04-24 19:47:27 +0000 | [diff] [blame] | 77 | syn match muttrcKeyName contained "\c<\%(BackSpace\|Delete\|Down\|End\|Enter\|Esc\|Home\|Insert\|Left\|PageDown\|PageUp\|Return\|Right\|Space\|Tab\|Up\)>" |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 78 | |
Bram Moolenaar | f9393ef | 2006-04-24 19:47:27 +0000 | [diff] [blame] | 79 | syn keyword muttrcVarBool contained allow_8bit allow_ansi arrow_cursor ascii_chars askbcc |
| 80 | syn keyword muttrcVarBool contained askcc attach_split auto_tag autoedit beep beep_new |
| 81 | syn keyword muttrcVarBool contained bounce_delivered braille_friendly check_new collapse_unread |
| 82 | syn keyword muttrcVarBool contained confirmappend confirmcreate crypt_autoencrypt crypt_autopgp |
| 83 | syn keyword muttrcVarBool contained crypt_autosign crypt_autosmime crypt_replyencrypt |
| 84 | syn keyword muttrcVarBool contained crypt_replysign crypt_replysignencrypted crypt_timestamp |
| 85 | syn keyword muttrcVarBool contained crypt_use_gpgme delete_untag digest_collapse duplicate_threads |
| 86 | syn keyword muttrcVarBool contained edit_hdrs edit_headers encode_from envelope_from fast_reply |
| 87 | syn keyword muttrcVarBool contained fcc_attach fcc_clear followup_to force_name forw_decode |
| 88 | syn keyword muttrcVarBool contained forw_decrypt forw_quote forward_decode forward_decrypt |
| 89 | syn keyword muttrcVarBool contained forward_quote hdrs header help hidden_host hide_limited |
| 90 | syn keyword muttrcVarBool contained hide_missing hide_thread_subject hide_top_limited |
| 91 | syn keyword muttrcVarBool contained hide_top_missing ignore_list_reply_to imap_check_subscribed |
| 92 | syn keyword muttrcVarBool contained imap_list_subscribed imap_passive imap_peek imap_servernoise |
| 93 | syn keyword muttrcVarBool contained implicit_autoview include_onlyfirst keep_flagged |
| 94 | syn keyword muttrcVarBool contained mailcap_sanitize maildir_header_cache_verify maildir_trash |
| 95 | syn keyword muttrcVarBool contained mark_old markers menu_move_off menu_scroll meta_key |
| 96 | syn keyword muttrcVarBool contained metoo mh_purge mime_forward_decode narrow_tree pager_stop |
| 97 | syn keyword muttrcVarBool contained pgp_auto_decode pgp_auto_traditional pgp_autoencrypt |
| 98 | syn keyword muttrcVarBool contained pgp_autoinline pgp_autosign pgp_check_exit |
| 99 | syn keyword muttrcVarBool contained pgp_create_traditional pgp_ignore_subkeys pgp_long_ids |
| 100 | syn keyword muttrcVarBool contained pgp_replyencrypt pgp_replyinline pgp_replysign |
| 101 | syn keyword muttrcVarBool contained pgp_replysignencrypted pgp_retainable_sigs pgp_show_unusable |
| 102 | syn keyword muttrcVarBool contained pgp_strict_enc pgp_use_gpg_agent pipe_decode pipe_split |
| 103 | syn keyword muttrcVarBool contained pop_auth_try_all pop_last print_decode print_split |
| 104 | syn keyword muttrcVarBool contained prompt_after read_only reply_self resolve reverse_alias |
| 105 | syn keyword muttrcVarBool contained reverse_name reverse_realname rfc2047_parameters save_address |
| 106 | syn keyword muttrcVarBool contained save_empty save_name score sig_dashes sig_on_top |
| 107 | syn keyword muttrcVarBool contained smart_wrap smime_ask_cert_label smime_decrypt_use_default_key |
| 108 | syn keyword muttrcVarBool contained smime_is_default sort_re ssl_force_tls ssl_use_sslv2 |
| 109 | syn keyword muttrcVarBool contained ssl_use_sslv3 ssl_use_tlsv1 ssl_usesystemcerts status_on_top |
Bram Moolenaar | 9964e46 | 2007-05-05 17:54:07 +0000 | [diff] [blame] | 110 | syn keyword muttrcVarBool contained strict_mime strict_threads suspend text_flowed thorough_search |
Bram Moolenaar | f9393ef | 2006-04-24 19:47:27 +0000 | [diff] [blame] | 111 | syn keyword muttrcVarBool contained thread_received tilde uncollapse_jump use_8bitmime |
| 112 | syn keyword muttrcVarBool contained use_domain use_envelope_from use_from use_idn use_ipv6 |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 113 | syn keyword muttrcVarBool contained user_agent wait_key weed wrap_search write_bcc |
| 114 | |
Bram Moolenaar | f9393ef | 2006-04-24 19:47:27 +0000 | [diff] [blame] | 115 | syn keyword muttrcVarBool contained noallow_8bit noallow_ansi noarrow_cursor noascii_chars noaskbcc |
| 116 | syn keyword muttrcVarBool contained noaskcc noattach_split noauto_tag noautoedit nobeep nobeep_new |
| 117 | syn keyword muttrcVarBool contained nobounce_delivered nobraille_friendly nocheck_new nocollapse_unread |
| 118 | syn keyword muttrcVarBool contained noconfirmappend noconfirmcreate nocrypt_autoencrypt nocrypt_autopgp |
| 119 | syn keyword muttrcVarBool contained nocrypt_autosign nocrypt_autosmime nocrypt_replyencrypt |
| 120 | syn keyword muttrcVarBool contained nocrypt_replysign nocrypt_replysignencrypted nocrypt_timestamp |
| 121 | syn keyword muttrcVarBool contained nocrypt_use_gpgme nodelete_untag nodigest_collapse noduplicate_threads |
| 122 | syn keyword muttrcVarBool contained noedit_hdrs noedit_headers noencode_from noenvelope_from nofast_reply |
| 123 | syn keyword muttrcVarBool contained nofcc_attach nofcc_clear nofollowup_to noforce_name noforw_decode |
| 124 | syn keyword muttrcVarBool contained noforw_decrypt noforw_quote noforward_decode noforward_decrypt |
| 125 | syn keyword muttrcVarBool contained noforward_quote nohdrs noheader nohelp nohidden_host nohide_limited |
| 126 | syn keyword muttrcVarBool contained nohide_missing nohide_thread_subject nohide_top_limited |
| 127 | syn keyword muttrcVarBool contained nohide_top_missing noignore_list_reply_to noimap_check_subscribed |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 128 | syn keyword muttrcVarBool contained noimap_list_subscribed noimap_passive noimap_peek noimap_servernoise |
Bram Moolenaar | f9393ef | 2006-04-24 19:47:27 +0000 | [diff] [blame] | 129 | syn keyword muttrcVarBool contained noimplicit_autoview noinclude_onlyfirst nokeep_flagged |
| 130 | syn keyword muttrcVarBool contained nomailcap_sanitize nomaildir_header_cache_verify nomaildir_trash |
| 131 | syn keyword muttrcVarBool contained nomark_old nomarkers nomenu_move_off nomenu_scroll nometa_key |
| 132 | syn keyword muttrcVarBool contained nometoo nomh_purge nomime_forward_decode nonarrow_tree nopager_stop |
| 133 | syn keyword muttrcVarBool contained nopgp_auto_decode nopgp_auto_traditional nopgp_autoencrypt |
| 134 | syn keyword muttrcVarBool contained nopgp_autoinline nopgp_autosign nopgp_check_exit |
| 135 | syn keyword muttrcVarBool contained nopgp_create_traditional nopgp_ignore_subkeys nopgp_long_ids |
| 136 | syn keyword muttrcVarBool contained nopgp_replyencrypt nopgp_replyinline nopgp_replysign |
| 137 | syn keyword muttrcVarBool contained nopgp_replysignencrypted nopgp_retainable_sigs nopgp_show_unusable |
| 138 | syn keyword muttrcVarBool contained nopgp_strict_enc nopgp_use_gpg_agent nopipe_decode nopipe_split |
| 139 | syn keyword muttrcVarBool contained nopop_auth_try_all nopop_last noprint_decode noprint_split |
| 140 | syn keyword muttrcVarBool contained noprompt_after noread_only noreply_self noresolve noreverse_alias |
| 141 | syn keyword muttrcVarBool contained noreverse_name noreverse_realname norfc2047_parameters nosave_address |
| 142 | syn keyword muttrcVarBool contained nosave_empty nosave_name noscore nosig_dashes nosig_on_top |
| 143 | syn keyword muttrcVarBool contained nosmart_wrap nosmime_ask_cert_label nosmime_decrypt_use_default_key |
| 144 | syn keyword muttrcVarBool contained nosmime_is_default nosort_re nossl_force_tls nossl_use_sslv2 |
| 145 | syn keyword muttrcVarBool contained nossl_use_sslv3 nossl_use_tlsv1 nossl_usesystemcerts nostatus_on_top |
| 146 | syn keyword muttrcVarBool contained nostrict_threads nosuspend notext_flowed nothorough_search |
| 147 | syn keyword muttrcVarBool contained nothread_received notilde nouncollapse_jump nouse_8bitmime |
| 148 | syn keyword muttrcVarBool contained nouse_domain nouse_envelope_from nouse_from nouse_idn nouse_ipv6 |
| 149 | syn keyword muttrcVarBool contained nouser_agent nowait_key noweed nowrap_search nowrite_bcc |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 150 | |
Bram Moolenaar | f9393ef | 2006-04-24 19:47:27 +0000 | [diff] [blame] | 151 | syn keyword muttrcVarBool contained invallow_8bit invallow_ansi invarrow_cursor invascii_chars invaskbcc |
| 152 | syn keyword muttrcVarBool contained invaskcc invattach_split invauto_tag invautoedit invbeep invbeep_new |
| 153 | syn keyword muttrcVarBool contained invbounce_delivered invbraille_friendly invcheck_new invcollapse_unread |
| 154 | syn keyword muttrcVarBool contained invconfirmappend invconfirmcreate invcrypt_autoencrypt invcrypt_autopgp |
| 155 | syn keyword muttrcVarBool contained invcrypt_autosign invcrypt_autosmime invcrypt_replyencrypt |
| 156 | syn keyword muttrcVarBool contained invcrypt_replysign invcrypt_replysignencrypted invcrypt_timestamp |
| 157 | syn keyword muttrcVarBool contained invcrypt_use_gpgme invdelete_untag invdigest_collapse invduplicate_threads |
| 158 | syn keyword muttrcVarBool contained invedit_hdrs invedit_headers invencode_from invenvelope_from invfast_reply |
| 159 | syn keyword muttrcVarBool contained invfcc_attach invfcc_clear invfollowup_to invforce_name invforw_decode |
| 160 | syn keyword muttrcVarBool contained invforw_decrypt invforw_quote invforward_decode invforward_decrypt |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 161 | syn keyword muttrcVarBool contained invforward_quote invhdrs invheader invhelp invhidden_host invhide_limited |
Bram Moolenaar | f9393ef | 2006-04-24 19:47:27 +0000 | [diff] [blame] | 162 | syn keyword muttrcVarBool contained invhide_missing invhide_thread_subject invhide_top_limited |
| 163 | syn keyword muttrcVarBool contained invhide_top_missing invignore_list_reply_to invimap_check_subscribed |
| 164 | syn keyword muttrcVarBool contained invimap_list_subscribed invimap_passive invimap_peek invimap_servernoise |
| 165 | syn keyword muttrcVarBool contained invimplicit_autoview invinclude_onlyfirst invkeep_flagged |
| 166 | syn keyword muttrcVarBool contained invmailcap_sanitize invmaildir_header_cache_verify invmaildir_trash |
| 167 | syn keyword muttrcVarBool contained invmark_old invmarkers invmenu_move_off invmenu_scroll invmeta_key |
| 168 | syn keyword muttrcVarBool contained invmetoo invmh_purge invmime_forward_decode invnarrow_tree invpager_stop |
| 169 | syn keyword muttrcVarBool contained invpgp_auto_decode invpgp_auto_traditional invpgp_autoencrypt |
| 170 | syn keyword muttrcVarBool contained invpgp_autoinline invpgp_autosign invpgp_check_exit |
| 171 | syn keyword muttrcVarBool contained invpgp_create_traditional invpgp_ignore_subkeys invpgp_long_ids |
| 172 | syn keyword muttrcVarBool contained invpgp_replyencrypt invpgp_replyinline invpgp_replysign |
| 173 | syn keyword muttrcVarBool contained invpgp_replysignencrypted invpgp_retainable_sigs invpgp_show_unusable |
| 174 | syn keyword muttrcVarBool contained invpgp_strict_enc invpgp_use_gpg_agent invpipe_decode invpipe_split |
| 175 | syn keyword muttrcVarBool contained invpop_auth_try_all invpop_last invprint_decode invprint_split |
| 176 | syn keyword muttrcVarBool contained invprompt_after invread_only invreply_self invresolve invreverse_alias |
| 177 | syn keyword muttrcVarBool contained invreverse_name invreverse_realname invrfc2047_parameters invsave_address |
| 178 | syn keyword muttrcVarBool contained invsave_empty invsave_name invscore invsig_dashes invsig_on_top |
| 179 | syn keyword muttrcVarBool contained invsmart_wrap invsmime_ask_cert_label invsmime_decrypt_use_default_key |
| 180 | syn keyword muttrcVarBool contained invsmime_is_default invsort_re invssl_force_tls invssl_use_sslv2 |
| 181 | syn keyword muttrcVarBool contained invssl_use_sslv3 invssl_use_tlsv1 invssl_usesystemcerts invstatus_on_top |
| 182 | syn keyword muttrcVarBool contained invstrict_threads invsuspend invtext_flowed invthorough_search |
| 183 | syn keyword muttrcVarBool contained invthread_received invtilde invuncollapse_jump invuse_8bitmime |
| 184 | syn keyword muttrcVarBool contained invuse_domain invuse_envelope_from invuse_from invuse_idn invuse_ipv6 |
| 185 | syn keyword muttrcVarBool contained invuser_agent invwait_key invweed invwrap_search invwrite_bcc |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 186 | |
Bram Moolenaar | f9393ef | 2006-04-24 19:47:27 +0000 | [diff] [blame] | 187 | syn keyword muttrcVarQuad contained abort_nosubject abort_unmodified bounce copy |
| 188 | syn keyword muttrcVarQuad contained crypt_verify_sig delete forward_edit honor_followup_to |
| 189 | syn keyword muttrcVarQuad contained include mime_forward mime_forward_rest mime_fwd move |
| 190 | syn keyword muttrcVarQuad contained pgp_mime_auto pgp_verify_sig pop_delete pop_reconnect |
| 191 | syn keyword muttrcVarQuad contained postpone print quit recall reply_to ssl_starttls |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 192 | |
Bram Moolenaar | f9393ef | 2006-04-24 19:47:27 +0000 | [diff] [blame] | 193 | syn keyword muttrcVarQuad contained noabort_nosubject noabort_unmodified nobounce nocopy |
| 194 | syn keyword muttrcVarQuad contained nocrypt_verify_sig nodelete noforward_edit nohonor_followup_to |
| 195 | syn keyword muttrcVarQuad contained noinclude nomime_forward nomime_forward_rest nomime_fwd nomove |
| 196 | syn keyword muttrcVarQuad contained nopgp_mime_auto nopgp_verify_sig nopop_delete nopop_reconnect |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 197 | syn keyword muttrcVarQuad contained nopostpone noprint noquit norecall noreply_to nossl_starttls |
| 198 | |
Bram Moolenaar | f9393ef | 2006-04-24 19:47:27 +0000 | [diff] [blame] | 199 | syn keyword muttrcVarQuad contained invabort_nosubject invabort_unmodified invbounce invcopy |
| 200 | syn keyword muttrcVarQuad contained invcrypt_verify_sig invdelete invforward_edit invhonor_followup_to |
| 201 | syn keyword muttrcVarQuad contained invinclude invmime_forward invmime_forward_rest invmime_fwd invmove |
| 202 | syn keyword muttrcVarQuad contained invpgp_mime_auto invpgp_verify_sig invpop_delete invpop_reconnect |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 203 | syn keyword muttrcVarQuad contained invpostpone invprint invquit invrecall invreply_to invssl_starttls |
| 204 | |
Bram Moolenaar | f9393ef | 2006-04-24 19:47:27 +0000 | [diff] [blame] | 205 | syn keyword muttrcVarNum contained connect_timeout history imap_keepalive mail_check menu_context net_inc |
| 206 | syn keyword muttrcVarNum contained pager_context pager_index_lines pgp_timeout pop_checkinterval read_inc |
Bram Moolenaar | 9964e46 | 2007-05-05 17:54:07 +0000 | [diff] [blame] | 207 | syn keyword muttrcVarNum contained save_history score_threshold_delete score_threshold_flag |
| 208 | syn keyword muttrcVarNum contained score_threshold_read sendmail_wait sleep_time smime_timeout |
| 209 | syn keyword muttrcVarNum contained ssl_min_dh_prime_bits timeout wrap wrapmargin write_inc |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 210 | |
Bram Moolenaar | 9964e46 | 2007-05-05 17:54:07 +0000 | [diff] [blame] | 211 | syn match muttrcVarStr contained 'my_[a-zA-Z0-9_]\+' |
| 212 | syn keyword muttrcVarStr contained alias_file alias_format assumed_charset attach_format attach_sep attribution |
Bram Moolenaar | f9393ef | 2006-04-24 19:47:27 +0000 | [diff] [blame] | 213 | syn keyword muttrcVarStr contained certificate_file charset compose_format config_charset content_type |
| 214 | syn keyword muttrcVarStr contained date_format default_hook display_filter dotlock_program dsn_notify |
| 215 | syn keyword muttrcVarStr contained dsn_return editor entropy_file envelope_from_address escape folder |
| 216 | syn keyword muttrcVarStr contained folder_format forw_format forward_format from gecos_mask hdr_format |
Bram Moolenaar | 9964e46 | 2007-05-05 17:54:07 +0000 | [diff] [blame] | 217 | syn keyword muttrcVarStr contained header_cache header_cache_pagesize history_file hostname imap_authenticators |
| 218 | syn keyword muttrcVarStr contained imap_delim_chars imap_headers imap_home_namespace imap_idle imap_login imap_pass |
Bram Moolenaar | f9393ef | 2006-04-24 19:47:27 +0000 | [diff] [blame] | 219 | syn keyword muttrcVarStr contained imap_user indent_str indent_string index_format ispell locale mailcap_path |
Bram Moolenaar | 9964e46 | 2007-05-05 17:54:07 +0000 | [diff] [blame] | 220 | syn keyword muttrcVarStr contained mask mbox mbox_type message_format message_cachedir mh_seq_flagged mh_seq_replied |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 221 | syn keyword muttrcVarStr contained mh_seq_unseen mix_entry_format mixmaster msg_format pager pager_format |
Bram Moolenaar | f9393ef | 2006-04-24 19:47:27 +0000 | [diff] [blame] | 222 | syn keyword muttrcVarStr contained pgp_clearsign_command pgp_decode_command pgp_decrypt_command |
| 223 | syn keyword muttrcVarStr contained pgp_encrypt_only_command pgp_encrypt_sign_command pgp_entry_format |
| 224 | syn keyword muttrcVarStr contained pgp_export_command pgp_getkeys_command pgp_good_sign pgp_import_command |
Bram Moolenaar | 9964e46 | 2007-05-05 17:54:07 +0000 | [diff] [blame] | 225 | syn keyword muttrcVarStr contained pgp_list_pubring_command pgp_list_secring_command pgp_mime_signature_filename |
| 226 | syn keyword muttrcVarStr contained pgp_mime_signature_description pgp_sign_as |
Bram Moolenaar | f9393ef | 2006-04-24 19:47:27 +0000 | [diff] [blame] | 227 | syn keyword muttrcVarStr contained pgp_sign_command pgp_sort_keys pgp_verify_command pgp_verify_key_command |
| 228 | syn keyword muttrcVarStr contained pipe_sep pop_authenticators pop_host pop_pass pop_user post_indent_str |
| 229 | syn keyword muttrcVarStr contained post_indent_string postponed preconnect print_cmd print_command |
| 230 | syn keyword muttrcVarStr contained query_command quote_regexp realname record reply_regexp send_charset |
| 231 | syn keyword muttrcVarStr contained sendmail shell signature simple_search smileys smime_ca_location |
| 232 | syn keyword muttrcVarStr contained smime_certificates smime_decrypt_command smime_default_key |
| 233 | syn keyword muttrcVarStr contained smime_encrypt_command smime_encrypt_with smime_get_cert_command |
| 234 | syn keyword muttrcVarStr contained smime_get_cert_email_command smime_get_signer_cert_command |
| 235 | syn keyword muttrcVarStr contained smime_import_cert_command smime_keys smime_pk7out_command smime_sign_as |
| 236 | syn keyword muttrcVarStr contained smime_sign_command smime_sign_opaque_command smime_verify_command |
Bram Moolenaar | 9964e46 | 2007-05-05 17:54:07 +0000 | [diff] [blame] | 237 | syn keyword muttrcVarStr contained smime_verify_opaque_command smtp_url smtp_authenticators sort sort_alias sort_aux |
| 238 | syn keyword muttrcVarStr contained sort_browser spam_separator spoolfile ssl_ca_certificates_file ssl_client_cert |
Bram Moolenaar | f9393ef | 2006-04-24 19:47:27 +0000 | [diff] [blame] | 239 | syn keyword muttrcVarStr contained status_chars status_format tmpdir to_chars tunnel visual |
| 240 | |
| 241 | " Present in 1.4.2.1 (pgp_create_traditional was a bool then) |
| 242 | syn keyword muttrcVarBool contained imap_force_ssl imap_force_ssl noinvimap_force_ssl |
| 243 | "syn keyword muttrcVarQuad contained pgp_create_traditional nopgp_create_traditional invpgp_create_traditional |
| 244 | syn keyword muttrcVarStr contained alternates |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 245 | |
| 246 | syn keyword muttrcMenu contained alias attach browser compose editor index pager postpone pgp mix query generic |
Bram Moolenaar | f9393ef | 2006-04-24 19:47:27 +0000 | [diff] [blame] | 247 | syn match muttrcMenuList "\S\+" contained contains=muttrcMenu |
| 248 | syn match muttrcMenuCommas /,/ contained |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 249 | |
Bram Moolenaar | f9393ef | 2006-04-24 19:47:27 +0000 | [diff] [blame] | 250 | syn keyword muttrcCommand auto_view alternative_order charset-hook exec unalternative_order |
| 251 | syn keyword muttrcCommand hdr_order iconv-hook ignore mailboxes my_hdr unmailboxes |
| 252 | syn keyword muttrcCommand pgp-hook push score source unauto_view unhdr_order |
Bram Moolenaar | 9964e46 | 2007-05-05 17:54:07 +0000 | [diff] [blame] | 253 | syn keyword muttrcCommand unignore unmono unmy_hdr unscore |
Bram Moolenaar | f9393ef | 2006-04-24 19:47:27 +0000 | [diff] [blame] | 254 | syn keyword muttrcCommand mime_lookup unmime_lookup spam ungroup |
| 255 | syn keyword muttrcCommand nospam unalternative_order |
| 256 | |
Bram Moolenaar | 9964e46 | 2007-05-05 17:54:07 +0000 | [diff] [blame] | 257 | syn keyword muttrcHooks contained account-hook charset-hook iconv-hook message-hook folder-hook mbox-hook save-hook fcc-hook fcc-save-hook send-hook send2-hook reply-hook crypt-hook |
| 258 | syn keyword muttrcUnhook contained unhook |
| 259 | syn region muttrcUnhookLine keepend start=+^\s*unhook\s+ skip=+\\$+ end=+$+ contains=muttrcUnhook,muttrcHooks,muttrcUnHighlightSpace,muttrcComment |
| 260 | |
Bram Moolenaar | f9393ef | 2006-04-24 19:47:27 +0000 | [diff] [blame] | 261 | syn match muttrcAttachmentsMimeType contained "[*a-z0-9_-]\+/[*a-z0-9._-]\+\s*" skipwhite nextgroup=muttrcAttachmentsMimeType |
| 262 | syn match muttrcAttachmentsFlag contained "[+-]\%([AI]\|inline\|attachment\)\s\+" skipwhite nextgroup=muttrcAttachmentsMimeType |
| 263 | syn match muttrcAttachmentsLine "^\s*\%(un\)\?attachments\s\+" skipwhite nextgroup=muttrcAttachmentsFlag |
| 264 | |
| 265 | syn match muttrcUnHighlightSpace contained "\%(\s\+\|\\$\)" |
| 266 | |
| 267 | syn keyword muttrcListsKeyword contained lists unlists |
| 268 | syn region muttrcListsLine keepend start=+^\s*\%(un\)\?lists\s+ skip=+\\$+ end=+$+ contains=muttrcListsKeyword,muttrcRXPat,muttrcGroupDef,muttrcUnHighlightSpace,muttrcComment |
| 269 | |
| 270 | syn keyword muttrcSubscribeKeyword contained subscribe unsubscribe |
| 271 | syn region muttrcSubscribeLine keepend start=+^\s*\%(un\)\?subscribe\s+ skip=+\\$+ end=+$+ contains=muttrcSubscribeKeyword,muttrcRXPat,muttrcGroupDef,muttrcUnHighlightSpace,muttrcComment |
| 272 | |
| 273 | syn keyword muttrcAlternateKeyword contained alternates unalternates |
| 274 | syn region muttrcAlternatesLine keepend start=+^\s*\%(un\)\?alternates\s+ skip=+\\$+ end=+$+ contains=muttrcAlternateKeyword,muttrcGroupDef,muttrcRXPat,muttrcUnHighlightSpace,muttrcComment |
| 275 | |
| 276 | syn match muttrcVariable "\$[a-zA-Z_-]\+" |
| 277 | |
| 278 | syn match muttrcBadAction contained "[^<>]\+" contains=muttrcEmail |
| 279 | syn match muttrcFunction contained "\<\%(attach\|bounce\|copy\|delete\|display\|flag\|forward\|parent\|pipe\|postpone\|print\|recall\|resent\|save\|send\|tag\|undelete\)-message\>" |
| 280 | syn match muttrcFunction contained "\<\%(delete\|next\|previous\|read\|tag\|undelete\)-thread\>" |
| 281 | syn match muttrcFunction contained "\<\%(backward\|capitalize\|downcase\|forward\|kill\|upcase\)-word\>" |
| 282 | syn match muttrcFunction contained "\<\%(delete\|filter\|first\|last\|next\|pipe\|previous\|print\|save\|select\|tag\|undelete\)-entry\>" |
| 283 | syn match muttrcFunction contained "\<attach-\%(file\|key\)\>" |
| 284 | syn match muttrcFunction contained "\<change-\%(dir\|folder\|folder-readonly\)\>" |
| 285 | syn match muttrcFunction contained "\<check-\%(new\|traditional-pgp\)\>" |
| 286 | syn match muttrcFunction contained "\<current-\%(bottom\|middle\|top\)\>" |
| 287 | syn match muttrcFunction contained "\<decode-\%(copy\|save\)\>" |
| 288 | syn match muttrcFunction contained "\<delete-\%(char\|pattern\|subthread\)\>" |
| 289 | syn match muttrcFunction contained "\<display-\%(address\|toggle-weed\)\>" |
| 290 | syn match muttrcFunction contained "\<edit\%(-\%(bcc\|cc\|description\|encoding\|fcc\|file\|from\|headers\|mime\|reply-to\|subject\|to\|type\)\)\?\>" |
| 291 | syn match muttrcFunction contained "\<enter-\%(command\|mask\)\>" |
| 292 | syn match muttrcFunction contained "\<half-\%(up\|down\)\>" |
| 293 | syn match muttrcFunction contained "\<history-\%(up\|down\)\>" |
| 294 | syn match muttrcFunction contained "\<kill-\%(eol\|eow\|line\)\>" |
| 295 | syn match muttrcFunction contained "\<next-\%(line\|new\|page\|subthread\|undeleted\|unread\)\>" |
| 296 | syn match muttrcFunction contained "\<previous-\%(line\|new\|page\|subthread\|undeleted\|unread\)\>" |
| 297 | syn match muttrcFunction contained "\<search\%(-\%(next\|opposite\|reverse\|toggle\)\)\?\>" |
| 298 | syn match muttrcFunction contained "\<show-\%(limit\|version\)\>" |
| 299 | syn match muttrcFunction contained "\<sort-\%(mailbox\|reverse\)\>" |
Bram Moolenaar | 9964e46 | 2007-05-05 17:54:07 +0000 | [diff] [blame] | 300 | syn match muttrcFunction contained "\<tag-\%(pattern\|prefix\%(-cond\)\?\)\>" |
Bram Moolenaar | f9393ef | 2006-04-24 19:47:27 +0000 | [diff] [blame] | 301 | syn match muttrcFunction contained "\<toggle-\%(mailboxes\|new\|quoted\|subscribed\|unlink\|write\)\>" |
| 302 | syn match muttrcFunction contained "\<undelete-\%(pattern\|subthread\)\>" |
| 303 | syn match muttrcFunction contained "\<collapse-\%(parts\|thread\|all\)\>" |
| 304 | syn match muttrcFunction contained "\<view-\%(attach\|attachments\|file\|mailcap\|name\|text\)\>" |
Bram Moolenaar | 9964e46 | 2007-05-05 17:54:07 +0000 | [diff] [blame] | 305 | syn match muttrcFunction contained "\<\%(backspace\|backward-char\|bol\|bottom\|bottom-page\|buffy-cycle\|clear-flag\|complete\%(-query\)\?\|copy-file\|create-alias\|detach-file\|eol\|exit\|extract-keys\|\%(imap-\)\?fetch-mail\|forget-passphrase\|forward-char\|group-reply\|help\|ispell\|jump\|limit\|list-reply\|mail\|mail-key\|mark-as-new\|middle-page\|new-mime\|noop\|pgp-menu\|query\|query-append\|quit\|quote-char\|read-subthread\|redraw-screen\|refresh\|rename-file\|reply\|select-new\|set-flag\|shell-escape\|skip-quoted\|sort\|subscribe\|sync-mailbox\|top\|top-page\|transpose-chars\|unsubscribe\|untag-pattern\|verify-key\|what-key\|write-fcc\)\>" |
Bram Moolenaar | f9393ef | 2006-04-24 19:47:27 +0000 | [diff] [blame] | 306 | syn match muttrcAction contained "<[^>]\{-}>" contains=muttrcBadAction,muttrcFunction,muttrcKeyName |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 307 | |
| 308 | syn keyword muttrcSet set skipwhite nextgroup=muttrcVar.* |
| 309 | syn keyword muttrcUnset unset skipwhite nextgroup=muttrcVar.* |
| 310 | syn keyword muttrcReset reset skipwhite nextgroup=muttrcVar.* |
| 311 | syn keyword muttrcToggle toggle skipwhite nextgroup=muttrcVar.* |
| 312 | |
Bram Moolenaar | f9393ef | 2006-04-24 19:47:27 +0000 | [diff] [blame] | 313 | " First, functions that take regular expressions: |
| 314 | syn match muttrcRXHookNot contained /!\s*/ skipwhite nextgroup=muttrcRXString |
| 315 | syn match muttrcRXHooks /^\s*\%(account\|folder\)-hook\s\+/ skipwhite nextgroup=muttrcRXHookNot,muttrcRXString |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 316 | |
Bram Moolenaar | f9393ef | 2006-04-24 19:47:27 +0000 | [diff] [blame] | 317 | " Now, functions that take patterns |
| 318 | syn match muttrcPatHookNot contained /!\s*/ skipwhite nextgroup=muttrcPattern |
| 319 | syn match muttrcPatHooks /^\s*\%(message\|mbox\|save\|fcc\%(-save\)\?\|send2\?\|reply\|crypt\)-hook\s\+/ nextgroup=muttrcPatHookNot,muttrcPattern |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 320 | |
Bram Moolenaar | f9393ef | 2006-04-24 19:47:27 +0000 | [diff] [blame] | 321 | syn match muttrcBindFunction contained /\S\+\%(\s\|$\)/ skipwhite contains=muttrcFunction |
| 322 | syn match muttrcBindFunctionNL contained /\s*\\$/ skipwhite skipnl nextgroup=muttrcBindFunction,muttrcBindFunctionNL |
| 323 | syn match muttrcBindKey contained /\S\+/ skipwhite contains=muttrcKey nextgroup=muttrcBindFunction,muttrcBindFunctionNL |
| 324 | syn match muttrcBindKeyNL contained /\s*\\$/ skipwhite skipnl nextgroup=muttrcBindKey,muttrcBindKeyNL |
| 325 | syn match muttrcBindMenuList contained /\S\+/ skipwhite contains=muttrcMenu,muttrcMenuCommas nextgroup=muttrcBindKey,muttrcBindKeyNL |
| 326 | syn match muttrcBindMenuListNL contained /\s*\\$/ skipwhite skipnl nextgroup=muttrcBindMenuList,muttrcBindMenuListNL |
| 327 | syn match muttrcBind /^\s*bind\s\?/ skipwhite nextgroup=muttrcBindMenuList,muttrcBindMenuListNL |
| 328 | |
Bram Moolenaar | 9964e46 | 2007-05-05 17:54:07 +0000 | [diff] [blame] | 329 | syn region muttrcMacroDescr contained keepend skipwhite start=+\s*\S+ms=e skip=+\\ + end=+ \|$+me=s |
| 330 | syn region muttrcMacroDescr contained keepend skipwhite start=+'+ms=e skip=+\\'+ end=+'+me=s |
| 331 | syn region muttrcMacroDescr contained keepend skipwhite start=+"+ms=e skip=+\\"+ end=+"+me=s |
| 332 | syn match muttrcMacroDescrNL contained /\s*\\$/ skipwhite skipnl nextgroup=muttrcMacroDescr,muttrcMacroDescrNL |
| 333 | syn region muttrcMacroBody contained skipwhite start="\S" skip='\\ \|\\$' end=' \|$' contains=muttrcEscape,muttrcSet,muttrcUnset,muttrcReset,muttrcToggle,muttrcCommand,muttrcAction nextgroup=muttrcMacroDescr,muttrcMacroDescrNL |
| 334 | syn region muttrcMacroBody matchgroup=Type contained skipwhite start=+'+ms=e skip=+\\'+ end=+'+me=s contains=muttrcEscape,muttrcSet,muttrcUnset,muttrcReset,muttrcToggle,muttrcCommand,muttrcAction nextgroup=muttrcMacroDescr,muttrcMacroDescrNL |
| 335 | syn region muttrcMacroBody matchgroup=Type contained skipwhite start=+"+ms=e skip=+\\"+ end=+"+me=s contains=muttrcEscape,muttrcSet,muttrcUnset,muttrcReset,muttrcToggle,muttrcCommand,muttrcAction nextgroup=muttrcMacroDescr,muttrcMacroDescrNL |
| 336 | syn match muttrcMacroBodyNL contained /\s*\\$/ skipwhite skipnl nextgroup=muttrcMacroBody,muttrcMacroBodyNL |
| 337 | syn match muttrcMacroKey contained /\S\+/ skipwhite contains=muttrcKey nextgroup=muttrcMacroBody,muttrcMacroBodyNL |
Bram Moolenaar | f9393ef | 2006-04-24 19:47:27 +0000 | [diff] [blame] | 338 | syn match muttrcMacroKeyNL contained /\s*\\$/ skipwhite skipnl nextgroup=muttrcMacroKey,muttrcMacroKeyNL |
| 339 | syn match muttrcMacroMenuList contained /\S\+/ skipwhite contains=muttrcMenu,muttrcMenuCommas nextgroup=muttrcMacroKey,muttrcMacroKeyNL |
| 340 | syn match muttrcMacroMenuListNL contained /\s*\\$/ skipwhite skipnl nextgroup=muttrcMacroMenuList,muttrcMacroMenuListNL |
| 341 | syn match muttrcMacro /^\s*macro\s\?/ skipwhite nextgroup=muttrcMacroMenuList,muttrcMacroMenuListNL |
| 342 | |
| 343 | syn match muttrcAddrContent contained "[a-zA-Z0-9._-]\+@[a-zA-Z0-9./-]\+\s*" skipwhite contains=muttrcEmail nextgroup=muttrcAddrContent |
| 344 | syn region muttrcAddrContent contained start=+'+ end=+'\s*+ skip=+\\'+ skipwhite contains=muttrcEmail nextgroup=muttrcAddrContent |
| 345 | syn region muttrcAddrContent contained start=+"+ end=+"\s*+ skip=+\\"+ skipwhite contains=muttrcEmail nextgroup=muttrcAddrContent |
| 346 | syn match muttrcAddrDef contained "-addr\s\+" skipwhite nextgroup=muttrcAddrContent |
| 347 | |
| 348 | syn match muttrcGroupFlag contained "-group" |
| 349 | syn region muttrcGroupDef contained start="-group\s\+" skip="\\$" end="\s" skipwhite keepend contains=muttrcGroupFlag,muttrcUnHighlightSpace |
| 350 | |
| 351 | syn keyword muttrcGroupKeyword contained group ungroup |
| 352 | syn region muttrcGroupLine keepend start=+^\s*\%(un\)\?group\s+ skip=+\\$+ end=+$+ contains=muttrcGroupKeyword,muttrcGroupDef,muttrcAddrDef,muttrcRXDef,muttrcUnHighlightSpace,muttrcComment |
| 353 | |
Bram Moolenaar | 9964e46 | 2007-05-05 17:54:07 +0000 | [diff] [blame] | 354 | syn match muttrcAliasGroupName contained /\w\+/ skipwhite nextgroup=muttrcAliasGroupDef,muttrcAliasKey,muttrcAliasNL |
Bram Moolenaar | f9393ef | 2006-04-24 19:47:27 +0000 | [diff] [blame] | 355 | syn match muttrcAliasGroupDefNL contained /\s*\\$/ skipwhite skipnl nextgroup=muttrcAliasGroupName,muttrcAliasGroupDefNL |
| 356 | syn match muttrcAliasGroupDef contained /\s*-group/ skipwhite nextgroup=muttrcAliasGroupName,muttrcAliasGroupDefNL contains=muttrcGroupFlag |
Bram Moolenaar | 9964e46 | 2007-05-05 17:54:07 +0000 | [diff] [blame] | 357 | syn match muttrcAliasComma contained /,/ skipwhite nextgroup=muttrcAliasEmail,muttrcAliasEncEmail,muttrcAliasNameNoParens,muttrcAliasENNL |
| 358 | syn match muttrcAliasEmail contained /\S\+@\S\+/ contains=muttrcEmail nextgroup=muttrcAliasName,muttrcAliasNameNL skipwhite |
| 359 | syn match muttrcAliasEncEmail contained /<[^>]\+>/ contains=muttrcEmail nextgroup=muttrcAliasComma |
Bram Moolenaar | f9393ef | 2006-04-24 19:47:27 +0000 | [diff] [blame] | 360 | syn match muttrcAliasEncEmailNL contained /\s*\\$/ skipwhite skipnl nextgroup=muttrcAliasEncEmail,muttrcAliasEncEmailNL |
| 361 | syn match muttrcAliasNameNoParens contained /[^<(@]\+\s\+/ nextgroup=muttrcAliasEncEmail,muttrcAliasEncEmailNL |
| 362 | syn region muttrcAliasName contained matchgroup=Type start=/(/ end=/)/ skipwhite |
| 363 | syn match muttrcAliasNameNL contained /\s*\\$/ skipwhite skipnl nextgroup=muttrcAliasName,muttrcAliasNameNL |
Bram Moolenaar | 9964e46 | 2007-05-05 17:54:07 +0000 | [diff] [blame] | 364 | syn match muttrcAliasENNL contained /\s*\\$/ skipwhite skipnl nextgroup=muttrcAliasEmail,muttrcAliasEncEmail,muttrcAliasNameNoParens,muttrcAliasENNL |
| 365 | syn match muttrcAliasKey contained /\s*[^- \t]\S\+/ skipwhite nextgroup=muttrcAliasEmail,muttrcAliasEncEmail,muttrcAliasNameNoParens,muttrcAliasENNL |
| 366 | syn match muttrcAliasNL contained /\s*\\$/ skipwhite skipnl nextgroup=muttrcAliasGroupDef,muttrcAliasKey,muttrcAliasNL |
| 367 | syn match muttrcAlias /^\s*alias\s/ skipwhite nextgroup=muttrcAliasGroupDef,muttrcAliasKey,muttrcAliasNL |
Bram Moolenaar | f9393ef | 2006-04-24 19:47:27 +0000 | [diff] [blame] | 368 | |
Bram Moolenaar | 9964e46 | 2007-05-05 17:54:07 +0000 | [diff] [blame] | 369 | syn match muttrcUnAliasKey contained "\s*\w\+\s*" skipwhite nextgroup=muttrcUnAliasKey,muttrcUnAliasNL |
| 370 | syn match muttrcUnAliasNL contained /\s*\\$/ skipwhite skipnl nextgroup=muttrcUnAliasKey,muttrcUnAliasNL |
| 371 | syn match muttrcUnAlias /^\s*unalias\s\?/ nextgroup=muttrcUnAliasKey,muttrcUnAliasNL |
Bram Moolenaar | f9393ef | 2006-04-24 19:47:27 +0000 | [diff] [blame] | 372 | |
| 373 | syn match muttrcSimplePat contained "!\?\^\?[~][ADEFgGklNOpPQRSTuUvV=$]" |
| 374 | syn match muttrcSimplePat contained "!\?\^\?[~][mnXz]\s\+\%([<>-][0-9]\+\|[0-9]\+[-][0-9]*\)" |
Bram Moolenaar | 9964e46 | 2007-05-05 17:54:07 +0000 | [diff] [blame] | 375 | syn match muttrcSimplePat contained "!\?\^\?[~][dr]\s\+\%(\%(-\?[0-9]\{1,2}\%(/[0-9]\{1,2}\%(/[0-9]\{2}\%([0-9]\{2}\)\?\)\?\)\?\%([+*-][0-9]\+[ymwd]\)*\)\|\%(\%([0-9]\{1,2}\%(/[0-9]\{1,2}\%(/[0-9]\{2}\%([0-9]\{2}\)\?\)\?\)\?\%([+*-][0-9]\+[ymwd]\)*\)-\%([0-9]\{1,2}\%(/[0-9]\{1,2}\%(/[0-9]\{2}\%([0-9]\{2}\)\?\)\?\)\?\%([+*-][0-9]\+[ymwd]\)\?\)\?\)\|\%([<>=][0-9]\+[ymwd]\)\)" |
Bram Moolenaar | f9393ef | 2006-04-24 19:47:27 +0000 | [diff] [blame] | 376 | syn match muttrcSimplePat contained "!\?\^\?[~][bBcCefhHiLstxy]\s\+" nextgroup=muttrcSimplePatRXContainer |
Bram Moolenaar | 9964e46 | 2007-05-05 17:54:07 +0000 | [diff] [blame] | 377 | syn match muttrcSimplePat contained "!\?\^\?[%][bBcCefhHiLstxy]\s\+" nextgroup=muttrcSimplePatString |
| 378 | syn match muttrcSimplePat contained "!\?\^\?[=][bh]\s\+" nextgroup=muttrcSimplePatString |
Bram Moolenaar | f9393ef | 2006-04-24 19:47:27 +0000 | [diff] [blame] | 379 | "syn match muttrcSimplePat contained /"[^~=%][^"]*/ contains=muttrcRXPat |
| 380 | "syn match muttrcSimplePat contained /'[^~=%][^']*/ contains=muttrcRXPat |
Bram Moolenaar | 9964e46 | 2007-05-05 17:54:07 +0000 | [diff] [blame] | 381 | syn match muttrcSimplePatString contained /[a-zA-Z0-9]\+/ |
| 382 | syn region muttrcSimplePatString contained keepend start=+"+ end=+"+ skip=+\\"+ |
| 383 | syn region muttrcSimplePatString contained keepend start=+'+ end=+'+ skip=+\\'+ |
Bram Moolenaar | f9393ef | 2006-04-24 19:47:27 +0000 | [diff] [blame] | 384 | syn region muttrcSimplePatRXContainer contained keepend start=+"+ end=+"+ skip=+\\"+ contains=muttrcRXPat |
| 385 | syn region muttrcSimplePatRXContainer contained keepend start=+'+ end=+'+ skip=+\\'+ contains=muttrcRXPat |
| 386 | syn match muttrcSimplePatRXContainer contained /\S\+/ contains=muttrcRXPat |
| 387 | syn match muttrcSimplePatMetas contained /[(|)]/ |
| 388 | |
| 389 | syn region muttrcPattern contained keepend start=+"+ skip=+\\"+ end=+"+ contains=muttrcPatternInner |
| 390 | syn region muttrcPattern contained keepend start=+'+ skip=+\\'+ end=+'+ contains=muttrcPatternInner |
| 391 | syn match muttrcPattern contained "[~][A-Za-z]" contains=muttrcSimplePat |
| 392 | syn region muttrcPatternInner contained keepend start=+"[~=%!(^]+ms=s+1 skip=+\\"+ end=+"+me=e-1 contains=muttrcSimplePat,muttrcUnHighlightSpace,muttrcSimplePatMetas |
| 393 | syn region muttrcPatternInner contained keepend start=+'[~=%!(^]+ms=s+1 skip=+\\'+ end=+'+me=e-1 contains=muttrcSimplePat,muttrcUnHighlightSpace,muttrcSimplePatMetas |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 394 | |
| 395 | " Colour definitions takes object, foreground and background arguments (regexps excluded). |
Bram Moolenaar | f9393ef | 2006-04-24 19:47:27 +0000 | [diff] [blame] | 396 | syn match muttrcColorMatchCount contained "[0-9]\+" |
| 397 | syn match muttrcColorMatchCountNL contained skipwhite skipnl "\s*\\$" nextgroup=muttrcColorMatchCount,muttrcColorMatchCountNL |
Bram Moolenaar | 9964e46 | 2007-05-05 17:54:07 +0000 | [diff] [blame] | 398 | syn region muttrcColorRXPat contained start=+\s*'+ skip=+\\'+ end=+'\s*+ keepend skipwhite contains=muttrcRXString2 nextgroup=muttrcColorMatchCount,muttrcColorMatchCountNL |
| 399 | syn region muttrcColorRXPat contained start=+\s*"+ skip=+\\"+ end=+"\s*+ keepend skipwhite contains=muttrcRXString2 nextgroup=muttrcColorMatchCount,muttrcColorMatchCountNL |
Bram Moolenaar | f9393ef | 2006-04-24 19:47:27 +0000 | [diff] [blame] | 400 | syn keyword muttrcColorField contained attachment body bold error hdrdefault header index indicator markers message normal quoted search signature status tilde tree underline |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 401 | syn match muttrcColorField contained "\<quoted\d\=\>" |
Bram Moolenaar | f9393ef | 2006-04-24 19:47:27 +0000 | [diff] [blame] | 402 | syn keyword muttrcColor contained black blue cyan default green magenta red white yellow |
| 403 | syn keyword muttrcColor contained brightblack brightblue brightcyan brightdefault brightgreen brightmagenta brightred brightwhite brightyellow |
| 404 | syn match muttrcColor contained "\<\%(bright\)\=color\d\{1,2}\>" |
| 405 | " Now for the structure of the color line |
Bram Moolenaar | 9964e46 | 2007-05-05 17:54:07 +0000 | [diff] [blame] | 406 | syn match muttrcColorRXNL contained skipnl "\s*\\$" nextgroup=muttrcColorRXPat,muttrcColorRXNL |
| 407 | syn match muttrcColorBG contained /\s*[$]\?\w\+/ contains=muttrcColor,muttrcVariable,muttrcUnHighlightSpace nextgroup=muttrcColorRXPat,muttrcColorRXNL |
| 408 | syn match muttrcColorBGNL contained skipnl "\s*\\$" nextgroup=muttrcColorBG,muttrcColorBGNL |
| 409 | syn match muttrcColorFG contained /\s*[$]\?\w\+/ contains=muttrcColor,muttrcVariable,muttrcUnHighlightSpace nextgroup=muttrcColorBG,muttrcColorBGNL |
| 410 | syn match muttrcColorFGNL contained skipnl "\s*\\$" nextgroup=muttrcColorFG,muttrcColorFGNL |
| 411 | syn match muttrcColorContext contained /\s*[$]\?\w\+/ contains=muttrcColorField,muttrcVariable,muttrcUnHighlightSpace nextgroup=muttrcColorFG,muttrcColorFGNL |
| 412 | syn match muttrcColorNL contained skipnl "\s*\\$" nextgroup=muttrcColorContext,muttrcColorNL |
| 413 | syn match muttrcColorKeyword contained /^\s*color\s\+/ nextgroup=muttrcColorContext,muttrcColorNL |
Bram Moolenaar | f9393ef | 2006-04-24 19:47:27 +0000 | [diff] [blame] | 414 | syn region muttrcColorLine keepend start=/^\s*color\s\+\%(index\)\@!/ skip=+\\$+ end=+$+ contains=muttrcColorKeyword,muttrcComment,muttrcUnHighlightSpace |
| 415 | " Now for the structure of the color index line |
Bram Moolenaar | 9964e46 | 2007-05-05 17:54:07 +0000 | [diff] [blame] | 416 | syn match muttrcPatternNL contained skipnl "\s*\\$" nextgroup=muttrcPattern,muttrcPatternNL |
| 417 | syn match muttrcColorBGI contained /\s*[$]\?\w\+\s*/ contains=muttrcColor,muttrcVariable,muttrcUnHighlightSpace nextgroup=muttrcPattern,muttrcPatternNL |
| 418 | syn match muttrcColorBGNLI contained skipnl "\s*\\$" nextgroup=muttrcColorBGI,muttrcColorBGNLI |
| 419 | syn match muttrcColorFGI contained /\s*[$]\?\w\+/ contains=muttrcColor,muttrcVariable,muttrcUnHighlightSpace nextgroup=muttrcColorBGI,muttrcColorBGNLI |
| 420 | syn match muttrcColorFGNLI contained skipnl "\s*\\$" nextgroup=muttrcColorFGI,muttrcColorFGNLI |
| 421 | syn match muttrcColorContextI contained /\s*index/ contains=muttrcUnHighlightSpace nextgroup=muttrcColorFGI,muttrcColorFGNLI |
| 422 | syn match muttrcColorNLI contained skipnl "\s*\\$" nextgroup=muttrcColorContextI,muttrcColorNLI |
| 423 | syn match muttrcColorKeywordI contained /^\s*color\s\+/ nextgroup=muttrcColorContextI,muttrcColorNLI |
Bram Moolenaar | f9393ef | 2006-04-24 19:47:27 +0000 | [diff] [blame] | 424 | syn region muttrcColorLine keepend start=/^\s*color\s\+index/ skip=+\\$+ end=+$+ contains=muttrcColorKeywordI,muttrcComment,muttrcUnHighlightSpace |
| 425 | " And now color's brother: |
| 426 | syn region muttrcUnColorPatterns contained skipwhite start=+\s*'+ end=+'+ skip=+\\'+ contains=muttrcPattern nextgroup=muttrcUnColorPatterns,muttrcUnColorPatNL |
| 427 | syn region muttrcUnColorPatterns contained skipwhite start=+\s*"+ end=+"+ skip=+\\"+ contains=muttrcPattern nextgroup=muttrcUnColorPatterns,muttrcUnColorPatNL |
| 428 | syn match muttrcUnColorPatterns contained skipwhite /\s*[^'"\s]\S\*/ contains=muttrcPattern nextgroup=muttrcUnColorPatterns,muttrcUnColorPatNL |
| 429 | syn match muttrcUnColorPatNL contained skipwhite skipnl /\s*\\$/ nextgroup=muttrcUnColorPatterns,muttrcUnColorPatNL |
| 430 | syn match muttrcUnColorAll contained skipwhite /[*]/ |
| 431 | syn match muttrcUnColorAPNL contained skipwhite skipnl /\s*\\$/ nextgroup=muttrcUnColorPatterns,muttrcUnColorAll,muttrcUnColorAPNL |
| 432 | syn match muttrcUnColorIndex contained skipwhite /\s*index\s\+/ nextgroup=muttrcUnColorPatterns,muttrcUnColorAll,muttrcUnColorAPNL |
| 433 | syn match muttrcUnColorIndexNL contained skipwhite skipnl /\s*\\$/ nextgroup=muttrcUnColorIndex,muttrcUnColorIndexNL |
| 434 | syn match muttrcUnColorKeyword contained skipwhite /^\s*uncolor\s\+/ nextgroup=muttrcUnColorIndex,muttrcUnColorIndexNL |
| 435 | syn region muttrcUnColorLine keepend start=+^\s*uncolor\s+ skip=+\\$+ end=+$+ contains=muttrcUnColorKeyword,muttrcComment,muttrcUnHighlightSpace |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 436 | |
| 437 | " Mono are almost like color (ojects inherited from color) |
| 438 | syn keyword muttrcMonoAttrib contained bold none normal reverse standout underline |
| 439 | syn keyword muttrcMono contained mono skipwhite nextgroup=muttrcColorField |
| 440 | syn match muttrcMonoLine "^\s*mono\s\+\S\+" skipwhite nextgroup=muttrcMonoAttrib contains=muttrcMono |
| 441 | |
| 442 | " Define the default highlighting. |
| 443 | " For version 5.7 and earlier: only when not done already |
| 444 | " For version 5.8 and later: only when an item doesn't have highlighting yet |
| 445 | if version >= 508 || !exists("did_muttrc_syntax_inits") |
| 446 | if version < 508 |
| 447 | let did_muttrc_syntax_inits = 1 |
| 448 | command -nargs=+ HiLink hi link <args> |
| 449 | else |
| 450 | command -nargs=+ HiLink hi def link <args> |
| 451 | endif |
| 452 | |
| 453 | HiLink muttrcComment Comment |
| 454 | HiLink muttrcEscape SpecialChar |
Bram Moolenaar | f9393ef | 2006-04-24 19:47:27 +0000 | [diff] [blame] | 455 | HiLink muttrcRXChars SpecialChar |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 456 | HiLink muttrcString String |
Bram Moolenaar | f9393ef | 2006-04-24 19:47:27 +0000 | [diff] [blame] | 457 | HiLink muttrcRXString String |
Bram Moolenaar | 9964e46 | 2007-05-05 17:54:07 +0000 | [diff] [blame] | 458 | HiLink muttrcRXString2 String |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 459 | HiLink muttrcSpecial Special |
Bram Moolenaar | 9964e46 | 2007-05-05 17:54:07 +0000 | [diff] [blame] | 460 | HiLink muttrcHooks Type |
Bram Moolenaar | f9393ef | 2006-04-24 19:47:27 +0000 | [diff] [blame] | 461 | HiLink muttrcGroupFlag Type |
| 462 | HiLink muttrcGroupDef Macro |
| 463 | HiLink muttrcAddrDef muttrcGroupFlag |
| 464 | HiLink muttrcRXDef muttrcGroupFlag |
| 465 | HiLink muttrcRXPat String |
| 466 | HiLink muttrcAliasGroupName Macro |
Bram Moolenaar | 9964e46 | 2007-05-05 17:54:07 +0000 | [diff] [blame] | 467 | HiLink muttrcAliasKey Identifier |
| 468 | HiLink muttrcUnAliasKey Identifier |
Bram Moolenaar | f9393ef | 2006-04-24 19:47:27 +0000 | [diff] [blame] | 469 | HiLink muttrcAliasEncEmail Identifier |
| 470 | HiLink muttrcAliasParens Type |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 471 | HiLink muttrcNumber Number |
| 472 | HiLink muttrcQuadopt Boolean |
| 473 | HiLink muttrcEmail Special |
Bram Moolenaar | f9393ef | 2006-04-24 19:47:27 +0000 | [diff] [blame] | 474 | HiLink muttrcVariable Special |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 475 | HiLink muttrcHeader Type |
| 476 | HiLink muttrcKeySpecial SpecialChar |
| 477 | HiLink muttrcKey Type |
Bram Moolenaar | f9393ef | 2006-04-24 19:47:27 +0000 | [diff] [blame] | 478 | HiLink muttrcKeyName SpecialChar |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 479 | HiLink muttrcVarBool Identifier |
| 480 | HiLink muttrcVarQuad Identifier |
| 481 | HiLink muttrcVarNum Identifier |
| 482 | HiLink muttrcVarStr Identifier |
| 483 | HiLink muttrcMenu Identifier |
| 484 | HiLink muttrcCommand Keyword |
Bram Moolenaar | f9393ef | 2006-04-24 19:47:27 +0000 | [diff] [blame] | 485 | HiLink muttrcSet Keyword |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 486 | HiLink muttrcUnset muttrcCommand |
| 487 | HiLink muttrcReset muttrcCommand |
| 488 | HiLink muttrcToggle muttrcCommand |
| 489 | HiLink muttrcBind muttrcCommand |
| 490 | HiLink muttrcMacro muttrcCommand |
Bram Moolenaar | 9964e46 | 2007-05-05 17:54:07 +0000 | [diff] [blame] | 491 | HiLink muttrcMacroDescr String |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 492 | HiLink muttrcAlias muttrcCommand |
Bram Moolenaar | f9393ef | 2006-04-24 19:47:27 +0000 | [diff] [blame] | 493 | HiLink muttrcUnAlias muttrcCommand |
Bram Moolenaar | 9964e46 | 2007-05-05 17:54:07 +0000 | [diff] [blame] | 494 | HiLink muttrcUnhook muttrcCommand |
| 495 | HiLink muttrcUnhookLine Error |
Bram Moolenaar | f9393ef | 2006-04-24 19:47:27 +0000 | [diff] [blame] | 496 | HiLink muttrcAction Macro |
| 497 | HiLink muttrcBadAction Error |
| 498 | HiLink muttrcBindFunction Error |
| 499 | HiLink muttrcBindMenuList Error |
| 500 | HiLink muttrcFunction Macro |
| 501 | HiLink muttrcGroupKeyword muttrcCommand |
| 502 | HiLink muttrcGroupLine Error |
| 503 | HiLink muttrcSubscribeKeyword muttrcCommand |
| 504 | HiLink muttrcSubscribeLine Error |
| 505 | HiLink muttrcListsKeyword muttrcCommand |
| 506 | HiLink muttrcListsLine Error |
| 507 | HiLink muttrcAlternateKeyword muttrcCommand |
| 508 | HiLink muttrcAlternatesLine Error |
| 509 | HiLink muttrcAttachmentsLine muttrcCommand |
| 510 | HiLink muttrcAttachmentsFlag Type |
| 511 | HiLink muttrcAttachmentsMimeType String |
| 512 | HiLink muttrcColorLine Error |
| 513 | HiLink muttrcColorContext Error |
| 514 | HiLink muttrcColorContextI Identifier |
| 515 | HiLink muttrcColorKeyword muttrcCommand |
| 516 | HiLink muttrcColorKeywordI muttrcColorKeyword |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 517 | HiLink muttrcColorField Identifier |
Bram Moolenaar | 9964e46 | 2007-05-05 17:54:07 +0000 | [diff] [blame] | 518 | HiLink muttrcColor Type |
Bram Moolenaar | f9393ef | 2006-04-24 19:47:27 +0000 | [diff] [blame] | 519 | HiLink muttrcColorFG Error |
| 520 | HiLink muttrcColorFGI Error |
| 521 | HiLink muttrcColorBG Error |
| 522 | HiLink muttrcColorBGI Error |
| 523 | HiLink muttrcMonoAttrib muttrcColor |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 524 | HiLink muttrcMono muttrcCommand |
Bram Moolenaar | f9393ef | 2006-04-24 19:47:27 +0000 | [diff] [blame] | 525 | HiLink muttrcSimplePat Identifier |
Bram Moolenaar | 9964e46 | 2007-05-05 17:54:07 +0000 | [diff] [blame] | 526 | HiLink muttrcSimplePatString Macro |
Bram Moolenaar | f9393ef | 2006-04-24 19:47:27 +0000 | [diff] [blame] | 527 | HiLink muttrcSimplePatMetas Special |
| 528 | HiLink muttrcPattern Type |
| 529 | HiLink muttrcPatternInner Error |
| 530 | HiLink muttrcUnColorLine Error |
| 531 | HiLink muttrcUnColorKeyword muttrcCommand |
| 532 | HiLink muttrcUnColorIndex Identifier |
| 533 | HiLink muttrcShellString muttrcEscape |
| 534 | HiLink muttrcRXHooks muttrcCommand |
| 535 | HiLink muttrcRXHookNot Type |
| 536 | HiLink muttrcPatHooks muttrcCommand |
| 537 | HiLink muttrcPatHookNot Type |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 538 | |
Bram Moolenaar | 9964e46 | 2007-05-05 17:54:07 +0000 | [diff] [blame] | 539 | HiLink muttrcBindFunctionNL SpecialChar |
| 540 | HiLink muttrcBindKeyNL SpecialChar |
| 541 | HiLink muttrcBindMenuListNL SpecialChar |
| 542 | HiLink muttrcMacroDescrNL SpecialChar |
| 543 | HiLink muttrcMacroBodyNL SpecialChar |
| 544 | HiLink muttrcMacroKeyNL SpecialChar |
| 545 | HiLink muttrcMacroMenuListNL SpecialChar |
| 546 | HiLink muttrcColorMatchCountNL SpecialChar |
| 547 | HiLink muttrcColorNL SpecialChar |
| 548 | HiLink muttrcColorRXNL SpecialChar |
| 549 | HiLink muttrcColorBGNL SpecialChar |
| 550 | HiLink muttrcColorFGNL SpecialChar |
| 551 | HiLink muttrcAliasNameNL SpecialChar |
| 552 | HiLink muttrcAliasENNL SpecialChar |
| 553 | HiLink muttrcAliasNL SpecialChar |
| 554 | HiLink muttrcUnAliasNL SpecialChar |
| 555 | HiLink muttrcAliasGroupDefNL SpecialChar |
| 556 | HiLink muttrcAliasEncEmailNL SpecialChar |
| 557 | HiLink muttrcPatternNL SpecialChar |
| 558 | HiLink muttrcUnColorPatNL SpecialChar |
| 559 | HiLink muttrcUnColorAPNL SpecialChar |
| 560 | HiLink muttrcUnColorIndexNL SpecialChar |
| 561 | |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 562 | delcommand HiLink |
| 563 | endif |
| 564 | |
| 565 | let b:current_syntax = "muttrc" |
| 566 | |
| 567 | "EOF vim: ts=8 noet tw=100 sw=8 sts=0 |