comparison runtime/syntax/debchangelog.vim @ 19303:51bc26d4a393

Update runtime files. Commit: https://github.com/vim/vim/commit/560979ed4f0216f902a2c247e937f00a27dcb198 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Feb 4 22:53:05 2020 +0100 Update runtime files.
author Bram Moolenaar <Bram@vim.org>
date Tue, 04 Feb 2020 23:00:04 +0100
parents 1cd44535be32
children 56265f711890
comparison
equal deleted inserted replaced
19302:5060698bf8a8 19303:51bc26d4a393
1 " Vim syntax file 1 " Vim syntax file
2 " Language: Debian changelog files 2 " Language: Debian changelog files
3 " Maintainer: Debian Vim Maintainers 3 " Maintainer: Debian Vim Maintainers
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: 2019 Oct 20 6 " Last Change: 2020 Feb 02
7 " URL: https://salsa.debian.org/vim-team/vim-debian/blob/master/syntax/debchangelog.vim 7 " URL: https://salsa.debian.org/vim-team/vim-debian/blob/master/syntax/debchangelog.vim
8 8
9 " Standard syntax initialization 9 " Standard syntax initialization
10 if exists('b:current_syntax') 10 if exists('b:current_syntax')
11 finish 11 finish
22 let s:supported = [ 22 let s:supported = [
23 \ 'oldstable', 'stable', 'testing', 'unstable', 'experimental', 23 \ 'oldstable', 'stable', 'testing', 'unstable', 'experimental',
24 \ 'wheezy', 'jessie', 'stretch', 'buster', 'bullseye', 'bookworm', 24 \ 'wheezy', 'jessie', 'stretch', 'buster', 'bullseye', 'bookworm',
25 \ 'sid', 'rc-buggy', 25 \ 'sid', 'rc-buggy',
26 \ 26 \
27 \ 'trusty', 'xenial', 'bionic', 'disco', 'eoan', 'focal', 'devel' 27 \ 'trusty', 'xenial', 'bionic', 'eoan', 'focal', 'devel'
28 \ ] 28 \ ]
29 let s:unsupported = [ 29 let s:unsupported = [
30 \ 'frozen', 'buzz', 'rex', 'bo', 'hamm', 'slink', 'potato', 30 \ 'frozen', 'buzz', 'rex', 'bo', 'hamm', 'slink', 'potato',
31 \ 'woody', 'sarge', 'etch', 'lenny', 'squeeze', 31 \ 'woody', 'sarge', 'etch', 'lenny', 'squeeze',
32 \ 32 \
33 \ 'warty', 'hoary', 'breezy', 'dapper', 'edgy', 'feisty', 33 \ 'warty', 'hoary', 'breezy', 'dapper', 'edgy', 'feisty',
34 \ 'gutsy', 'hardy', 'intrepid', 'jaunty', 'karmic', 'lucid', 34 \ 'gutsy', 'hardy', 'intrepid', 'jaunty', 'karmic', 'lucid',
35 \ 'maverick', 'natty', 'oneiric', 'precise', 'quantal', 'raring', 'saucy', 35 \ 'maverick', 'natty', 'oneiric', 'precise', 'quantal', 'raring', 'saucy',
36 \ 'utopic', 'vivid', 'wily', 'yakkety', 'zesty', 'artful', 'cosmic' 36 \ 'utopic', 'vivid', 'wily', 'yakkety', 'zesty', 'artful', 'cosmic',
37 \ 'disco'
37 \ ] 38 \ ]
38 let &cpo=s:cpo 39 let &cpo=s:cpo
39 40
40 " Define some common expressions we can use later on 41 " Define some common expressions we can use later on
41 syn match debchangelogName contained "^[[:alnum:]][[:alnum:].+-]\+ " 42 syn match debchangelogName contained "^[[:alnum:]][[:alnum:].+-]\+ "
42 exe 'syn match debchangelogFirstKV contained "; \('.s:urgency.'\|'.s:binNMU.'\)"' 43 exe 'syn match debchangelogFirstKV contained "; \('.s:urgency.'\|'.s:binNMU.'\)"'
43 exe 'syn match debchangelogOtherKV contained ", \('.s:urgency.'\|'.s:binNMU.'\)"' 44 exe 'syn match debchangelogOtherKV contained ", \('.s:urgency.'\|'.s:binNMU.'\)"'
44 exe 'syn match debchangelogTarget contained "\%( \%('.join(s:supported, '\|').'\)\>[-[:alnum:]]*\)\+"' 45 exe 'syn match debchangelogTarget contained "\%( \%('.join(s:supported, '\|').'\)\>[-[:alnum:]]*\)\+"'
45 exe 'syn match debchangelogUnsupportedTarget contained "\%( \%('.join(s:unsupported, '\|').'\)\>[-[:alnum:]]*\)\+"' 46 exe 'syn match debchangelogUnsupportedTarget contained "\%( \%('.join(s:unsupported, '\|').'\)\>[-[:alnum:]]*\)\+"'
46 syn keyword debchangelogUnreleased contained UNRELEASED 47 syn match debchangelogUnreleased contained / UNRELEASED/
47 syn match debchangelogVersion contained "(.\{-})" 48 syn match debchangelogVersion contained "(.\{-})"
48 syn match debchangelogCloses contained "closes:\_s*\(bug\)\=#\=\_s\=\d\+\(,\_s*\(bug\)\=#\=\_s\=\d\+\)*" 49 syn match debchangelogCloses contained "closes:\_s*\(bug\)\=#\=\_s\=\d\+\(,\_s*\(bug\)\=#\=\_s\=\d\+\)*"
49 syn match debchangelogLP contained "\clp:\s\+#\d\+\(,\s*#\d\+\)*" 50 syn match debchangelogLP contained "\clp:\s\+#\d\+\(,\s*#\d\+\)*"
50 syn match debchangelogEmail contained "[_=[:alnum:].+-]\+@[[:alnum:]./\-]\+" 51 syn match debchangelogEmail contained "[_=[:alnum:].+-]\+@[[:alnum:]./\-]\+"
51 syn match debchangelogEmail contained "<.\{-}>" 52 syn match debchangelogEmail contained "<.\{-}>"