Package: vim-runtime
Version: 1:7.1-266+1
Severity: normal
Tags: patch
--- Please enter the report below this line. ---
Hello,
When editing any sources.list file, vim fails to highlight properly the codename "lenny" and the
following types of sources:
- debtorrent
- ssh
- cdrom
- copy
The attached patch fixes these issues.
--- System information. ---
Architecture: amd64
Kernel: Linux 2.6.24.2-bounty
Debian Release: lenny/sid
900 testing snapshot.debian.net
900 testing security.debian.org
900 testing ftp.ro.debian.org
10 unstable ftp.ro.debian.org
--- Package information. ---
Depends (Version) | Installed
=======================-+-===========
|
--
Regards,
EddyP
=============================================
"Imagination is more important than knowledge" A.Einstein
--- /usr/share/vim/vim71/syntax/debsources.vim.distrib 2008-02-27 19:31:48.000000000 +0200
+++ /usr/share/vim/vim71/syntax/debsources.vim 2008-03-18 23:59:45.000000000 +0200
@@ -25,8 +25,8 @@
syn match debsourcesComment /#.*/
" Match uri's
-syn match debsourcesUri +\(http://\|ftp://\|file:///\)[^' <>"]\++
-syn match debsourcesDistrKeyword +\([[:alnum:]_./]*\)\(sarge\|etch\|\(old\)\=stable\|testing\|unstable\|sid\|experimental\|dapper\|edgy\|feisty\|gutsy\|hardy\)\([-[:alnum:]_./]*\)+
+syn match debsourcesUri +\(http://\|ftp://\|file:\|debtorrent://\|ssh://\|cdrom:\|copy:\)[^' <>"]\++
+syn match debsourcesDistrKeyword +\([[:alnum:]_./]*\)\(sarge\|etch\|lenny\|\(old\)\=stable\|testing\|unstable\|sid\|experimental\|dapper\|edgy\|feisty\|gutsy\|hardy\)\([-[:alnum:]_./]*\)+
" Associate our matches and regions with pretty colours
hi def link debsourcesLine Error