From: Simon Ruderich Date: Thu, 12 Jul 2018 12:05:04 +0000 (+0200) Subject: vim: syntax/msmtp.vim: sync with msmtp.vim in Debian package X-Git-Url: https://ruderich.org/simon/gitweb/?p=config%2Fdotfiles.git;a=commitdiff_plain;h=baa67012ce181a3f16aaee1fd278d0ef495e599f vim: syntax/msmtp.vim: sync with msmtp.vim in Debian package --- diff --git a/vim/vim/syntax/msmtp.vim b/vim/vim/syntax/msmtp.vim index 1b0f8df..1fd05bc 100644 --- a/vim/vim/syntax/msmtp.vim +++ b/vim/vim/syntax/msmtp.vim @@ -1,9 +1,10 @@ " Vim syntax file " Language: msmtp rc files -" Maintainer: Simon Ruderich -" Last Change: 2008-08-23 +" Maintainer: Simon Ruderich +" Eric Pruitt +" Last Change: 2014-12-11 " Filenames: msmtprc -" Version: 0.1 +" Version: 0.3 if version < 600 @@ -17,19 +18,18 @@ endif syn match msmtpComment /#.*$/ contains=@Spell " General commands. -syntax match msmtpOption /\<\(defaults\|account\|host\|port\|timeout\|protocol\|domain\)\>/ +syntax match msmtpOption /\<\(defaults\|account\|host\|port\|proxy_host\|proxy_port\|timeout\|protocol\|domain\)\>/ " Authentication commands. syntax match msmtpOption /\<\(auth\|user\|password\|passwordeval\|ntlmdomain\)\>/ " TLS commands. -syntax match msmtpOption /\<\(tls\|tls_trust_file\|tls_crl_file\|tls_fingerprint\|tls_key_file\|tls_cert_file\|tls_certcheck\|tls_starttls\|tls_force_sslv3\|tls_min_dh_prime_bits\|tls_priorities\)\>/ +syntax match msmtpOption /\<\(tls\|tls_trust_file\|tls_crl_file\|tls_fingerprint\|tls_key_file\|tls_cert_file\|tls_certcheck\|tls_starttls\|tls_min_dh_prime_bits\|tls_priorities\)\>/ " Sendmail mode specific commands. -syntax match msmtpOption /\<\(auto_from\|from\|maildomain\|dsn_notify\|dsn_return\|keepbcc\|logfile\|syslog\)\>/ - +syntax match msmtpOption /\<\(auto_from\|from\|maildomain\|dsn_notify\|dsn_return\|add_missing_from_header\|add_missing_date_header\|remove_bcc_headers\|logfile\|syslog\)\>/ " Options which accept only an on/off value. -syn match msmtpWrongOption /\<\(tls\|tls_certcheck\|tls_starttls\|tls_force_sslv3\|auto_from\|keepbcc\) \(on$\|off$\)\@!.*$/ +syn match msmtpWrongOption /\<\(tls\|tls_certcheck\|tls_starttls\|auto_from\|add_missing_from_header\|add_missing_date_header\|remove_bcc_headers\) \(on$\|off$\)\@!.*$/ " Option port accepts numeric values. -syn match msmtpWrongOption /\