Mercurial > vim
comparison runtime/syntax/debchangelog.vim @ 7384:aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Dec 29 19:10:25 2015 +0100
Updated runtime files.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 29 Dec 2015 19:15:06 +0100 |
parents | 0303182665d5 |
children | 071f9da012fb |
comparison
equal
deleted
inserted
replaced
7383:377a68b9fa06 | 7384:aea5ebf352c4 |
---|---|
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: 2015 Apr 30 | 6 " Last Change: 2015 Oct 24 |
7 " URL: http://anonscm.debian.org/hg/pkg-vim/vim/raw-file/unstable/runtime/syntax/debchangelog.vim | 7 " URL: https://anonscm.debian.org/cgit/pkg-vim/vim.git/plain/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 |
12 elseif exists("b:current_syntax") | 12 elseif exists("b:current_syntax") |
21 | 21 |
22 " Define some common expressions we can use later on | 22 " Define some common expressions we can use later on |
23 syn match debchangelogName contained "^[[:alnum:]][[:alnum:].+-]\+ " | 23 syn match debchangelogName contained "^[[:alnum:]][[:alnum:].+-]\+ " |
24 exe 'syn match debchangelogFirstKV contained "; \('.urgency.'\|'.binNMU.'\)"' | 24 exe 'syn match debchangelogFirstKV contained "; \('.urgency.'\|'.binNMU.'\)"' |
25 exe 'syn match debchangelogOtherKV contained ", \('.urgency.'\|'.binNMU.'\)"' | 25 exe 'syn match debchangelogOtherKV contained ", \('.urgency.'\|'.binNMU.'\)"' |
26 syn match debchangelogTarget contained "\v %(frozen|unstable|sid|%(testing|%(old)=stable)%(-proposed-updates|-security)=|experimental|squeeze-%(backports%(-sloppy)=|volatile|lts|security)|wheezy-%(backports%(-sloppy)=|security)|jessie%(-backports|-security)=|stretch|%(devel|lucid|precise|trusty|utopic)%(-%(security|proposed|updates|backports|commercial|partner))=)+" | 26 syn match debchangelogTarget contained "\v %(frozen|unstable|sid|%(testing|%(old)=stable)%(-proposed-updates|-security)=|experimental|squeeze-%(backports%(-sloppy)=|volatile|lts|security)|wheezy-%(backports%(-sloppy)=|security)|jessie%(-backports|-security)=|stretch|%(devel|precise|trusty|vivid|wily|xenial)%(-%(security|proposed|updates|backports|commercial|partner))=)+" |
27 syn match debchangelogVersion contained "(.\{-})" | 27 syn match debchangelogVersion contained "(.\{-})" |
28 syn match debchangelogCloses contained "closes:\_s*\(bug\)\=#\=\_s\=\d\+\(,\_s*\(bug\)\=#\=\_s\=\d\+\)*" | 28 syn match debchangelogCloses contained "closes:\_s*\(bug\)\=#\=\_s\=\d\+\(,\_s*\(bug\)\=#\=\_s\=\d\+\)*" |
29 syn match debchangelogLP contained "\clp:\s\+#\d\+\(,\s*#\d\+\)*" | 29 syn match debchangelogLP contained "\clp:\s\+#\d\+\(,\s*#\d\+\)*" |
30 syn match debchangelogEmail contained "[_=[:alnum:].+-]\+@[[:alnum:]./\-]\+" | 30 syn match debchangelogEmail contained "[_=[:alnum:].+-]\+@[[:alnum:]./\-]\+" |
31 syn match debchangelogEmail contained "<.\{-}>" | 31 syn match debchangelogEmail contained "<.\{-}>" |