2 " Language: Debian sources.list
3 " Maintainer: Debian Vim Maintainers <pkg-vim-maintainers@lists.alioth.debian.org>
4 " Former Maintainer: Matthijs Mohlmann <matthijs@cacholong.nl>
5 " Last Change: 2010 May 06
6 " URL: http://hg.debian.org/hg/pkg-vim/vim/raw-file/tip/runtime/syntax/debsources.vim
8 " Standard syntax initialization
11 elseif exists("b:current_syntax")
18 " A bunch of useful keywords
19 syn match debsourcesKeyword /\(deb-src\|deb\|main\|contrib\|non-free\|restricted\|universe\|multiverse\)/
22 syn match debsourcesComment /#.*/ contains=@Spell
25 syn match debsourcesUri +\(http://\|ftp://\|[rs]sh://\|debtorrent://\|\(cdrom\|copy\|file\):\)[^' <>"]\++
26 syn match debsourcesDistrKeyword +\([[:alnum:]_./]*\)\(etch\|lenny\|squeeze\|\(old\)\=stable\|testing\|unstable\|sid\|rc-buggy\|experimental\|dapper\|hardy\|jaunty\|karmic\|lucid\|maverick\)\([-[:alnum:]_./]*\)+
28 " Associate our matches and regions with pretty colours
29 hi def link debsourcesLine Error
30 hi def link debsourcesKeyword Statement
31 hi def link debsourcesDistrKeyword Type
32 hi def link debsourcesComment Comment
33 hi def link debsourcesUri Constant
35 let b:current_syntax = "debsources"