Package: vim
Version: 2:7.3.000+hg~ee53a39d5896-1
Severity: wishlist
Tags: patch

Hi,

attached is a patch to add the next Ubuntu codename to the syntax
highlighting.

Michael
Index: vim-7.3.000+hg~ee53a39d5896/runtime/syntax/debchangelog.vim
===================================================================
--- vim-7.3.000+hg~ee53a39d5896.orig/runtime/syntax/debchangelog.vim	2010-10-17 12:42:46.000000000 +0200
+++ vim-7.3.000+hg~ee53a39d5896/runtime/syntax/debchangelog.vim	2010-10-17 12:43:32.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|hardy|jaunty|karmic|lucid|maverick)%(-%(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|hardy|jaunty|karmic|lucid|maverick|natty)%(-%(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.000+hg~ee53a39d5896/runtime/syntax/debsources.vim
===================================================================
--- vim-7.3.000+hg~ee53a39d5896.orig/runtime/syntax/debsources.vim	2010-10-17 12:43:54.000000000 +0200
+++ vim-7.3.000+hg~ee53a39d5896/runtime/syntax/debsources.vim	2010-10-17 12:45:04.000000000 +0200
@@ -23,7 +23,7 @@
 
 " Match uri's
 syn match debsourcesUri            +\(http://\|ftp://\|[rs]sh://\|debtorrent://\|\(cdrom\|copy\|file\):\)[^' 	<>"]\++
-syn match debsourcesDistrKeyword   +\([[:alnum:]_./]*\)\(etch\|lenny\|squeeze\|\(old\)\=stable\|testing\|unstable\|sid\|rc-buggy\|experimental\|dapper\|hardy\|jaunty\|karmic\|lucid\|maverick\)\([-[:alnum:]_./]*\)+
+syn match debsourcesDistrKeyword   +\([[:alnum:]_./]*\)\(etch\|lenny\|squeeze\|\(old\)\=stable\|testing\|unstable\|sid\|rc-buggy\|experimental\|dapper\|hardy\|jaunty\|karmic\|lucid\|maverick\|natty\)\([-[:alnum:]_./]*\)+
 
 " Associate our matches and regions with pretty colours
 hi def link debsourcesLine            Error

Reply via email to