Mercurial > vim
comparison runtime/syntax/debsources.vim @ 4437:eb6ab7e78925
Update runtime files.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Fri, 17 May 2013 18:14:19 +0200 |
parents | fa4089df54bc |
children | 1dea14d4c738 |
comparison
equal
deleted
inserted
replaced
4436:a4fb812810e3 | 4437:eb6ab7e78925 |
---|---|
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: 2013 Jan 03 | 5 " Last Change: 2013 May 05 |
6 " URL: http://anonscm.debian.org/hg/pkg-vim/vim/raw-file/unstable/runtime/syntax/debsources.vim | 6 " URL: http://anonscm.debian.org/hg/pkg-vim/vim/raw-file/unstable/runtime/syntax/debsources.vim |
7 | 7 |
8 " Standard syntax initialization | 8 " Standard syntax initialization |
9 if version < 600 | 9 if version < 600 |
10 syntax clear | 10 syntax clear |
21 " Match comments | 21 " Match comments |
22 syn match debsourcesComment /#.*/ contains=@Spell | 22 syn match debsourcesComment /#.*/ contains=@Spell |
23 | 23 |
24 " Match uri's | 24 " Match uri's |
25 syn match debsourcesUri +\(http://\|ftp://\|[rs]sh://\|debtorrent://\|\(cdrom\|copy\|file\):\)[^' <>"]\++ | 25 syn match debsourcesUri +\(http://\|ftp://\|[rs]sh://\|debtorrent://\|\(cdrom\|copy\|file\):\)[^' <>"]\++ |
26 syn match debsourcesDistrKeyword +\([[:alnum:]_./]*\)\(squeeze\|wheezy\|\(old\)\=stable\|testing\|unstable\|sid\|rc-buggy\|experimental\|hardy\|lucid\|oneiric\|precise\|quantal\|raring\)\([-[:alnum:]_./]*\)+ | 26 syn match debsourcesDistrKeyword +\([[:alnum:]_./]*\)\(squeeze\|wheezy\|\(old\)\=stable\|testing\|unstable\|sid\|rc-buggy\|experimental\|lucid\|precise\|quantal\|raring\|saucy\)\([-[:alnum:]_./]*\)+ |
27 | 27 |
28 " Associate our matches and regions with pretty colours | 28 " Associate our matches and regions with pretty colours |
29 hi def link debsourcesLine Error | 29 hi def link debsourcesLine Error |
30 hi def link debsourcesKeyword Statement | 30 hi def link debsourcesKeyword Statement |
31 hi def link debsourcesDistrKeyword Type | 31 hi def link debsourcesDistrKeyword Type |