2 " Language: Debian sources.list
3 " Maintainer: Matthijs Mohlmann <matthijs@cacholong.nl>
4 " Last Change: $Date: 2006/03/28 21:08:56 $
5 " URL: http://www.cacholong.nl/~matthijs/vim/syntax/debsources.vim
8 " this is a very simple syntax file - I will be improving it
9 " add entire DEFINE syntax
11 " Standard syntax initialization
14 elseif exists("b:current_syntax")
21 " A bunch of useful keywords
22 syn match debsourcesKeyword /\(deb-src\|deb\|main\|contrib\|non-free\)/
25 syn match debsourcesComment /#.*/
28 syn match debsourcesUri +\(http://\|ftp://\|file:///\)[^' <>"]\++
29 syn match debsourcesDistrKeyword +\([[:alnum:]_./]*\)\(woody\|sarge\|etch\|old-stable\|stable\|testing\|unstable\|sid\|experimental\|warty\|hoary\|breezy\)\([[:alnum:]_./]*\)+
31 " Associate our matches and regions with pretty colours
32 hi def link debsourcesLine Error
33 hi def link debsourcesKeyword Statement
34 hi def link debsourcesDistrKeyword Type
35 hi def link debsourcesComment Comment
36 hi def link debsourcesUri Constant
38 let b:current_syntax = "debsources"