Bug#859247: vim-runtime: syntax/debsources.vim highlights stretch as unsupported
Steve Cotton
steve at s.cotton.clara.co.uk
Fri Mar 31 23:58:39 UTC 2017
Package: vim-runtime
Version: 2:8.0.0197-3
Severity: minor
Dear Vim maintainers,
The syntax highlighting for /etc/apt/sources.list highlights
"jessie" or "sid" in the good color, leaves unrecognised distro
names unhighlighted, but highlights "stretch" in the error color.
The problem seems to be that "stretch" matches "etch":
diff --git a/syntax/debsources_with_etch_fix.vim b/syntax/debsources_with_etch_fix.vim
index 390c430..735201d 100644
--- a/syntax/debsources_with_etch_fix.vim
+++ b/syntax/debsources_with_etch_fix.vim
@@ -29,7 +29,7 @@ let s:supported = [
\ ]
let s:unsupported = [
\ 'buzz', 'rex', 'bo', 'hamm', 'slink', 'potato',
- \ 'woody', 'sarge', 'etch', 'lenny',
+ \ 'woody', 'sarge', '\<etch', 'lenny',
\
\ 'warty', 'hoary', 'breezy', 'dapper', 'edgy', 'feisty',
\ 'gutsy', 'hardy', 'intrepid', 'jaunty', 'karmic', 'lucid',
Thanks,
Steve
-- System Information:
Debian Release: 9.0
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.9.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
vim-runtime depends on no packages.
Versions of packages vim-runtime recommends:
ii vim 2:8.0.0197-3
ii vim-gtk [vim] 2:8.0.0197-3
ii vim-tiny 2:8.0.0197-3
vim-runtime suggests no packages.
-- no debconf information
More information about the pkg-vim-maintainers
mailing list