Bug#532027: vim-runtime: experimental as distribution in debian/changelog isn't supported in the syntax highlighting
Felix Zielcke
fzielcke at z-51.de
Fri Jun 5 19:51:34 UTC 2009
Package: vim-runtime
Version: 2:7.2.148-2
Severity: minor
Tags: patch
Hello,
currently `experimental' in debian/changelog is highlighted as red and not like unstable as turquoise.
This patch fixes it for me, but I don't know anything about vim's syntax highlighting.
--- debchangelog.vim.old 2009-06-05 21:42:29.000000000 +0200
+++ debchangelog.vim 2009-06-05 21:42:57.000000000 +0200
@@ -19,7 +19,7 @@
" Define some common expressions we can use later on
syn match debchangelogName contained "^[[:alnum:]][[:alnum:].+-]\+ "
syn match debchangelogUrgency contained "; urgency=\(low\|medium\|high\|critical\|emergency\)\( \S.*\)\="
-syn match debchangelogTarget contained "\v %(frozen|unstable|%(testing|%(old)=stable)=%(-proposed-updates|-security)=|experimental|%(etch|lenny)-%(backports|volatile)|%(dapper|gutsy|hardy|intrepid|jaunty|karmic)%(-%(security|proposed|updates|backports|commercial|partner))=)+"
+syn match debchangelogTarget contained "\v %(frozen|unstable|%(testing|%(old)=stable)=%(-proposed-updates|-security)=experimental|%(etch|lenny)-%(backports|volatile)|%(dapper|gutsy|hardy|intrepid|jaunty|karmic)%(-%(security|proposed|updates|backports|commercial|partner))=)+"
syn match debchangelogVersion contained "(.\{-})"
syn match debchangelogCloses contained "closes:\_s*\(bug\)\=#\=\_s\=\d\+\(,\_s*\(bug\)\=#\=\_s\=\d\+\)*"
syn match debchangelogLP contained "\clp:\s\+#\d\+\(,\s*#\d\+\)*"
-- System Information:
Debian Release: squeeze/sid
APT prefers experimental
APT policy: (500, 'experimental'), (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.29-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages vim-runtime depends on:
ii dpkg 1.15.2 Debian package management system
Versions of packages vim-runtime recommends:
ii vim 2:7.2.148-2 Vi IMproved - enhanced vi editor
ii vim-gnome [vim] 2:7.2.148-2 Vi IMproved - enhanced vi editor -
vim-runtime suggests no packages.
-- no debconf information
More information about the pkg-vim-maintainers
mailing list