diff options
Diffstat (limited to 'syntax/gentoo-mirrors.vim')
-rw-r--r-- | syntax/gentoo-mirrors.vim | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/syntax/gentoo-mirrors.vim b/syntax/gentoo-mirrors.vim index d5b09f6..686465b 100644 --- a/syntax/gentoo-mirrors.vim +++ b/syntax/gentoo-mirrors.vim @@ -16,22 +16,13 @@ if exists("b:current_syntax") finish endif -runtime syntax/gentoo-common.vim - -syn region GentooMirrorsComment start=/#/ end=/$/ - \ contains=GentooMirrorsEmail,GentooMirrorsDate,GentooBug - -syn match GentooMirrorsEmail contained /<[a-zA-Z0-9\-\_]\+@[a-zA-Z0-9\-\_\.]\+>/ -syn match GentooMirrorsDate contained /(\(\d\d\?\s\w\+\|\w\+\s\d\d\?\)\s\d\{4\})/ +runtime syntax/gentoo-package-common.vim syn match GentooMirrorsAtom /^[^# \t]\+/ \ nextgroup=GentooMirrorsUrl skipwhite syn region GentooMirrorsUrl contained start=/\(http\|ftp\):\/\// end=/\(\s\)\@=\|$/ \ nextgroup=GentooMirrorsUrl skipwhite -hi def link GentooMirrorsComment Comment -hi def link GentooMirrorsEmail Special -hi def link GentooMirrorsDate Number hi def link GentooMirrorsAtom Identifier hi def link GentooMirrorsUrl String |