summaryrefslogtreecommitdiff
path: root/runtime/syntax/mail.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2005-02-12 14:29:27 +0000
committerBram Moolenaar <Bram@vim.org>2005-02-12 14:29:27 +0000
commit4399ef4764584a24080670b4869cb8b5d31a4f78 (patch)
treec47e4671d16eeeadc9aa0b9a9cb19576e7c653b9 /runtime/syntax/mail.vim
parentb11bd7e43f6cdca944dceebaa3c8012d6bf1a74e (diff)
downloadvim-git-4399ef4764584a24080670b4869cb8b5d31a4f78.tar.gz
updated for version 7.0050
Diffstat (limited to 'runtime/syntax/mail.vim')
-rw-r--r--runtime/syntax/mail.vim6
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/syntax/mail.vim b/runtime/syntax/mail.vim
index 6fc0afb9d..98034dff6 100644
--- a/runtime/syntax/mail.vim
+++ b/runtime/syntax/mail.vim
@@ -2,7 +2,7 @@
" Language: Mail file
" Previous Maintainer: Felix von Leitner <leitner@math.fu-berlin.de>
" Maintainer: Gautam Iyer <gautam@math.uchicago.edu>
-" Last Change: Mon 23 Feb 2004 02:26:16 PM CST
+" Last Change: Thu 10 Feb 2005 09:46:26 AM CST
" Quit when a syntax file was already loaded
if exists("b:current_syntax")
@@ -38,8 +38,8 @@ syn match mailSubject contained "\v(^(\> ?)*)@<=subject:.*$" contains=@Spell
" Anything in the header between < and > is an email address
syn match mailHeaderEmail contained "<.\{-}>"
-" Mail Signatures. (Begin with "--", end with change in quote level)
-syn region mailSignature keepend contains=@mailLinks,@mailQuoteExps start="^\z(\(> \?\)*\)-- *$" end="^\z1$" end="^\z1\@!"me=s-1 end="^\z1\(> \?\)\+"me=s-1
+" Mail Signatures. (Begin with "-- ", end with change in quote level)
+syn region mailSignature keepend contains=@mailLinks,@mailQuoteExps start="^\z(\(> \?\)*\)-- $" end="^\z1$" end="^\z1\@!"me=s-1 end="^\z1\(> \?\)\+"me=s-1
" URLs start with a known protocol or www,web,w3.
syn match mailURL `\v<(((https?|ftp|gopher)://|(mailto|file|news):)[^' <>"]+|(www|web|w3)[a-z0-9_-]*\.[a-z0-9._-]+\.[^' <>"]+)[a-z0-9/]`