Mercurial > vim
comparison runtime/syntax/debchangelog.vim @ 2034:7bc41231fbc7
Update runtime files.
author | Bram Moolenaar <bram@zimbu.org> |
---|---|
date | Wed, 06 Jan 2010 20:54:52 +0100 |
parents | 0b796e045c42 |
children | b9e314fe473f |
comparison
equal
deleted
inserted
replaced
2033:de5a43c5eedc | 2034:7bc41231fbc7 |
---|---|
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: 2008-01-16 | 6 " Last Change: 2009 Jun 05 |
7 " URL: http://git.debian.org/?p=pkg-vim/vim.git;a=blob_plain;f=runtime/syntax/debchangelog.vim;hb=debian | 7 " URL: http://git.debian.org/?p=pkg-vim/vim.git;a=blob_plain;f=runtime/syntax/debchangelog.vim;hb=debian |
8 | 8 |
9 " Standard syntax initialization | 9 " Standard syntax initialization |
10 if version < 600 | 10 if version < 600 |
11 syntax clear | 11 syntax clear |
15 | 15 |
16 " Case doesn't matter for us | 16 " Case doesn't matter for us |
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 "^[[:alpha:]][[: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 %(%(old)=stable|frozen|unstable|%(testing-|%(old)=stable-)=proposed-updates|experimental|%(sarge|etch|lenny)-%(backports|volatile)|%(testing|%(old)=stable)-security|%(dapper|feisty|gutsy|hardy|intrepid)%(-%(security|proposed|updates|backports|commercial|partner))=)+" | 22 syn match debchangelogTarget contained "\v %(frozen|unstable|%(testing|%(old)=stable)%(-proposed-updates|-security)=|experimental|%(etch|lenny)-%(backports|volatile)|%(dapper|hardy|intrepid|jaunty|karmic)%(-%(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 "<.\{-}>" |