comparison runtime/syntax/debsources.vim @ 11518:63b0b7b79b25

Update runtime files. commit https://github.com/vim/vim/commit/3ec574f2b549f456f664f689d6da36dc5719aeb9 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Jun 13 18:12:01 2017 +0200 Update runtime files. Includes changing &sw to shiftwidth() for all indent scripts.
author Christian Brabandt <cb@256bit.org>
date Tue, 13 Jun 2017 18:15:04 +0200
parents 9a75c8a1b8b1
children f690da1b3c04
comparison
equal deleted inserted replaced
11517:01330ca5f7f8 11518:63b0b7b79b25
1 " Vim syntax file 1 " Vim syntax file
2 " Language: Debian sources.list 2 " Language: Debian sources.list
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 Maintainer: Matthijs Mohlmann <matthijs@cacholong.nl> 4 " Former Maintainer: Matthijs Mohlmann <matthijs@cacholong.nl>
5 " Last Change: 2016 Nov 12 5 " Last Change: 2017 Apr 22
6 " URL: https://anonscm.debian.org/cgit/pkg-vim/vim.git/plain/runtime/syntax/debsources.vim 6 " URL: https://anonscm.debian.org/cgit/pkg-vim/vim.git/plain/runtime/syntax/debsources.vim
7 7
8 " Standard syntax initialization 8 " Standard syntax initialization
9 if exists("b:current_syntax") 9 if exists("b:current_syntax")
10 finish 10 finish
23 set cpo-=C 23 set cpo-=C
24 let s:supported = [ 24 let s:supported = [
25 \ 'oldstable', 'stable', 'testing', 'unstable', 'experimental', 25 \ 'oldstable', 'stable', 'testing', 'unstable', 'experimental',
26 \ 'squeeze', 'wheezy', 'jessie', 'stretch', 'sid', 'rc-buggy', 26 \ 'squeeze', 'wheezy', 'jessie', 'stretch', 'sid', 'rc-buggy',
27 \ 27 \
28 \ 'precise', 'trusty', 'xenial', 'yakkety', 'zesty', 'devel' 28 \ 'trusty', 'xenial', 'yakkety', 'zesty', 'artful', 'devel'
29 \ ] 29 \ ]
30 let s:unsupported = [ 30 let s:unsupported = [
31 \ 'buzz', 'rex', 'bo', 'hamm', 'slink', 'potato', 31 \ 'buzz', 'rex', 'bo', 'hamm', 'slink', 'potato',
32 \ 'woody', 'sarge', 'etch', 'lenny', 32 \ 'woody', 'sarge', 'etch', 'lenny',
33 \ 33 \
34 \ 'warty', 'hoary', 'breezy', 'dapper', 'edgy', 'feisty', 34 \ 'warty', 'hoary', 'breezy', 'dapper', 'edgy', 'feisty',
35 \ 'gutsy', 'hardy', 'intrepid', 'jaunty', 'karmic', 'lucid', 35 \ 'gutsy', 'hardy', 'intrepid', 'jaunty', 'karmic', 'lucid',
36 \ 'maverick', 'natty', 'oneiric', 'quantal', 'raring', 'saucy', 36 \ 'maverick', 'natty', 'oneiric', 'precise', 'quantal', 'raring', 'saucy',
37 \ 'utopic', 'vivid', 'wily' 37 \ 'utopic', 'vivid', 'wily'
38 \ ] 38 \ ]
39 let &cpo=s:cpo 39 let &cpo=s:cpo
40 40
41 " Match uri's 41 " Match uri's
42 syn match debsourcesUri +\(https\?://\|ftp://\|[rs]sh://\|debtorrent://\|\(cdrom\|copy\|file\):\)[^' <>"]\++ 42 syn match debsourcesUri +\(https\?://\|ftp://\|[rs]sh://\|debtorrent://\|\(cdrom\|copy\|file\):\)[^' <>"]\++
43 exe 'syn match debsourcesDistrKeyword +\([[:alnum:]_./]*\)\('. join(s:supported, '\|'). '\)\([-[:alnum:]_./]*\)+' 43 exe 'syn match debsourcesDistrKeyword +\([[:alnum:]_./]*\)\<\('. join(s:supported, '\|'). '\)\>\([-[:alnum:]_./]*\)+'
44 exe 'syn match debsourcesUnsupportedDistrKeyword +\([[:alnum:]_./]*\)\('. join(s:unsupported, '\|') .'\)\([-[:alnum:]_./]*\)+' 44 exe 'syn match debsourcesUnsupportedDistrKeyword +\([[:alnum:]_./]*\)\<\('. join(s:unsupported, '\|') .'\)\>\([-[:alnum:]_./]*\)+'
45 45
46 " Associate our matches and regions with pretty colours 46 " Associate our matches and regions with pretty colours
47 hi def link debsourcesLine Error 47 hi def link debsourcesLine Error
48 hi def link debsourcesKeyword Statement 48 hi def link debsourcesKeyword Statement
49 hi def link debsourcesDistrKeyword Type 49 hi def link debsourcesDistrKeyword Type