Package: vim-runtime
Version: 2:7.3.154+hg~74503f6ee649-2
Severity: normal
Tags: patch

Hello,

attached is a patch to update the supported Ubuntu codenames in
runtime/syntax/debchangelog.vim and runtime/syntax/debsources.vim:
- Drop jaunty and karmic
- Add oneiric

Michael
Index: vim-7.3.154+hg~74503f6ee649/runtime/syntax/debchangelog.vim
===================================================================
--- vim-7.3.154+hg~74503f6ee649.orig/runtime/syntax/debchangelog.vim	2011-04-30 17:17:21.000000000 +0200
+++ vim-7.3.154+hg~74503f6ee649/runtime/syntax/debchangelog.vim	2011-04-30 17:17:48.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|%(lenny|squeeze)-%(backports%(-sloppy)=|volatile)|%(dapper|hardy|jaunty|karmic|lucid|maverick|natty)%(-%(security|proposed|updates|backports|commercial|partner))=)+"
+syn match debchangelogTarget	contained "\v %(frozen|unstable|%(testing|%(old)=stable)%(-proposed-updates|-security)=|experimental|%(lenny|squeeze)-%(backports%(-sloppy)=|volatile)|%(dapper|hardy|lucid|maverick|natty|oneiric)%(-%(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\+\)*"
Index: vim-7.3.154+hg~74503f6ee649/runtime/syntax/debsources.vim
===================================================================
--- vim-7.3.154+hg~74503f6ee649.orig/runtime/syntax/debsources.vim	2011-04-30 17:18:42.000000000 +0200
+++ vim-7.3.154+hg~74503f6ee649/runtime/syntax/debsources.vim	2011-04-30 17:19:16.000000000 +0200
@@ -23,7 +23,7 @@
 
 " Match uri's
 syn match debsourcesUri            +\(http://\|ftp://\|[rs]sh://\|debtorrent://\|\(cdrom\|copy\|file\):\)[^' 	<>"]\++
-syn match debsourcesDistrKeyword   +\([[:alnum:]_./]*\)\(lenny\|squeeze\|\(old\)\=stable\|testing\|unstable\|sid\|rc-buggy\|experimental\|dapper\|hardy\|jaunty\|karmic\|lucid\|maverick\|natty\)\([-[:alnum:]_./]*\)+
+syn match debsourcesDistrKeyword   +\([[:alnum:]_./]*\)\(lenny\|squeeze\|\(old\)\=stable\|testing\|unstable\|sid\|rc-buggy\|experimental\|dapper\|hardy\|lucid\|maverick\|natty\|oneiric\)\([-[:alnum:]_./]*\)+
 
 " Associate our matches and regions with pretty colours
 hi def link debsourcesLine            Error

Reply via email to