SHA256
1
0
forked from pool/vim

Accepting request 88555 from home:dirkmueller:branches:editors

- fix detection of email addresses in .changes files

OBS-URL: https://build.opensuse.org/request/show/88555
OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=64
This commit is contained in:
Ismail Dönmez 2011-10-18 19:22:51 +00:00 committed by Git OBS Bridge
parent 3044a4fce4
commit a2ff8b4189
2 changed files with 7 additions and 2 deletions

View File

@ -37,8 +37,8 @@ diff -rupN vim73.orig/runtime/syntax/changes.vim vim73/runtime/syntax/changes.vi
+" Highlights
+syn match ChangesDate "^[A-Z][a-z][a-z] [A-Z][a-z][a-z] [ 0-9][0-9] [0-9:]\{8\} [A-Z]\+ [0-9]\+"
+syn match ChangesDate "^[A-Z][a-z][a-z] [A-Z][a-z][a-z] [ 0-9][0-9] [0-9:]\{8\} [0-9]\+"
+syn match ChangesMail " - \<[a-zA-Z\.]\+@[a-zA-Z\.]\+\>$"
+syn match ChangesMailText "\<[a-zA-Z\.]\+@[a-zA-Z\.]\+\>"
+syn match ChangesMail " - \<[[:alnum:\.]\+@[[:alnum:]\.]\+\>$"
+syn match ChangesMailText "\<[[:alnum:]\.]\+@[[:alnum:]\.]\+\>"
+syn match ChangesSeparator "^-\{40,78\}$"
+syn match ChangesBug "#[0-9]\+\>"
+

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Oct 18 17:16:30 CEST 2011 - dmueller@suse.de
- fix detection of email addresses in .changes files
-------------------------------------------------------------------
Thu Sep 22 09:14:38 UTC 2011 - idonmez@suse.com