/usr/share/vim/addons/syntax/disources.vim is in di-netboot-assistant 0.41.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 | " Vim syntax file
" Language: Debian di-netboot-assistant's di-sources.list
" Maintainer: Frank Lin PIAT <fpiat@klabs.be>
" Last Change: 2008/11/15
" URL: http://wiki.debian.org/DebianInstaller/NetbootAssistant
" $Revision: 1.1 $
" this is a very simple syntax file, based on Matthijs Mohlmann's debsources.vim
" Standard syntax initialization
if version < 600
syntax clear
elseif exists("b:current_syntax")
finish
endif
" case sensitive
syn case match
" Architectures that support netbooting
" all arch, including historical:
"syn match diSourcesArchs /\(alpha\|amd64\|arm\(64\|el\|hf\|\)\|hppa\|kfreebsd-\(i386\|amd64\)\|i386\|ia64\|lpia\|mips\(\|el\)\|power\(pc\|pcel\)\|sparc\(\|32\|64\)\)/
" current Ones
syn match diSourcesArchs /\(amd64\|i386\|arm64\)/
" Architectures that don't support netbooting, and other forbiden characters
syn match diSourcesNoNetbootarch /\(m68k\|s390\|s390x\)/
" Match comments
syn match diSourcesComment /#.*/
" Match uri's
syn match diSourcesUri +\(http://\|ftp://\|[rs]sh://\|debtorrent://\|\(cdrom\|copy\|file\):\)[^' <>"]\++
syn match diSourcesDistrKeyword +\([[:alnum:]_./]*\)\(sarge\|etch\|lenny\|squeeze\|wheezy\|\(old\)\=stable\|testing\|unstable\|daily\|sid\|experimental\|dapper\|hardy\|karmic\|lucid\|maverick\|natty\)\([-[:alnum:]_./]*\)+
" Associate our matches and regions with pretty colours
hi def link diSourcesArchs Statement
hi def link diSourcesNoNetbootarch Error
hi def link diSourcesDistrKeyword Type
hi def link diSourcesComment Comment
hi def link diSourcesUri Constant
let b:current_syntax = "disources"
" vim: ts=8
|