Package: vim-runtime
Version: 1:6.4-004+1
Severity: normal
Tags: patch

Hello,

  the addition of new distribution targets to syntax/debchangelog.vim
  has also added a semicolon where it shouldn't be, causing for the
  urgency field to be hilighted as an error.

  Trivial patch to fix attached.

  Cheers,

-- 
Adeodato Simó                                     dato at net.com.org.es
Debian Developer                                  adeodato at debian.org
 
                                 Listening to: Jacques Brel - La Fanette
--- debchangelog.vim~   2005-12-13 03:22:48.000000000 +0100
+++ debchangelog.vim    2005-12-13 03:22:55.000000000 +0100
@@ -16,7 +16,7 @@
 " Define some common expressions we can use later on
 syn match debchangelogName     contained "^[[:alpha:]][[:alnum:].+-]\+ "
 syn match debchangelogUrgency  contained "; 
urgency=\(low\|medium\|high\|critical\|emergency\)\( \S.*\)\="
-syn match debchangelogTarget   contained "\( stable\| frozen\| unstable\| 
testing-proposed-updates\| experimental\| stable-security\| 
testing-security\)\+;"
+syn match debchangelogTarget   contained "\( stable\| frozen\| unstable\| 
testing-proposed-updates\| experimental\| stable-security\| 
testing-security\)\+"
 syn match debchangelogVersion  contained "(.\{-})"
 syn match debchangelogCloses   contained 
"closes:\s*\(bug\)\=#\=\s\=\d\+\(,\s*\(bug\)\=#\=\s\=\d\+\)*"
 syn match debchangelogEmail    contained "[_=[:alnum:[EMAIL 
PROTECTED]:alnum:]./\-]\+"

Reply via email to