Mercurial > vim
comparison runtime/syntax/debchangelog.vim @ 3513:1b584a6f446c
Updated runtime files.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Fri, 18 May 2012 13:46:39 +0200 |
parents | fd09a9c8468e |
children | fa4089df54bc |
comparison
equal
deleted
inserted
replaced
3512:5ad05e745fda | 3513:1b584a6f446c |
---|---|
1 " Vim syntax file | 1 " Vim syntax file |
2 " Language: Debian changelog files | 2 " Language: Debian changelog files |
3 " Maintainer: Debian Vim Maintainers <pkg-vim-maintainers@lists.alioth.debian.org> | 3 " Maintainer: Debian Vim Maintainers <pkg-vim-maintainers@lists.alioth.debian.org> |
4 " Former Maintainers: Gerfried Fuchs <alfie@ist.org> | 4 " Former Maintainers: Gerfried Fuchs <alfie@ist.org> |
5 " Wichert Akkerman <wakkerma@debian.org> | 5 " Wichert Akkerman <wakkerma@debian.org> |
6 " Last Change: 2011 June 01 | 6 " Last Change: 2012 April 29 |
7 " URL: http://anonscm.debian.org/hg/pkg-vim/vim/raw-file/unstable/runtime/syntax/debchangelog.vim | 7 " URL: http://anonscm.debian.org/hg/pkg-vim/vim/raw-file/unstable/runtime/syntax/debchangelog.vim |
8 | 8 |
9 " Standard syntax initialization | 9 " Standard syntax initialization |
10 if version < 600 | 10 if version < 600 |
11 syntax clear | 11 syntax clear |
17 syn case ignore | 17 syn case ignore |
18 | 18 |
19 " Define some common expressions we can use later on | 19 " Define some common expressions we can use later on |
20 syn match debchangelogName contained "^[[:alnum:]][[:alnum:].+-]\+ " | 20 syn match debchangelogName contained "^[[:alnum:]][[:alnum:].+-]\+ " |
21 syn match debchangelogUrgency contained "; urgency=\(low\|medium\|high\|critical\|emergency\)\( \S.*\)\=" | 21 syn match debchangelogUrgency contained "; urgency=\(low\|medium\|high\|critical\|emergency\)\( \S.*\)\=" |
22 syn match debchangelogTarget contained "\v %(frozen|unstable|%(testing|%(old)=stable)%(-proposed-updates|-security)=|experimental|%(lenny|squeeze)-%(backports%(-sloppy)=|volatile)|%(hardy|lucid|maverick|natty|oneiric)%(-%(security|proposed|updates|backports|commercial|partner))=)+" | 22 syn match debchangelogTarget contained "\v %(frozen|unstable|%(testing|%(old)=stable)%(-proposed-updates|-security)=|experimental|%(squeeze)-%(backports%(-sloppy)=|volatile)|%(hardy|lucid|natty|oneiric|precise|quantal)%(-%(security|proposed|updates|backports|commercial|partner))=)+" |
23 syn match debchangelogVersion contained "(.\{-})" | 23 syn match debchangelogVersion contained "(.\{-})" |
24 syn match debchangelogCloses contained "closes:\_s*\(bug\)\=#\=\_s\=\d\+\(,\_s*\(bug\)\=#\=\_s\=\d\+\)*" | 24 syn match debchangelogCloses contained "closes:\_s*\(bug\)\=#\=\_s\=\d\+\(,\_s*\(bug\)\=#\=\_s\=\d\+\)*" |
25 syn match debchangelogLP contained "\clp:\s\+#\d\+\(,\s*#\d\+\)*" | 25 syn match debchangelogLP contained "\clp:\s\+#\d\+\(,\s*#\d\+\)*" |
26 syn match debchangelogEmail contained "[_=[:alnum:].+-]\+@[[:alnum:]./\-]\+" | 26 syn match debchangelogEmail contained "[_=[:alnum:].+-]\+@[[:alnum:]./\-]\+" |
27 syn match debchangelogEmail contained "<.\{-}>" | 27 syn match debchangelogEmail contained "<.\{-}>" |