r519 - trunk/vim7/patches

James Vega jamessan at costa.debian.org
Sat Mar 25 22:51:52 UTC 2006


Author: jamessan
Date: 2006-03-25 22:51:51 +0000 (Sat, 25 Mar 2006)
New Revision: 519

Removed:
   trunk/vim7/patches/150_asterisk.vim.diff
Log:
Remove asterisk syntax file update as a newer one is included with latest vim7.


Deleted: trunk/vim7/patches/150_asterisk.vim.diff
===================================================================
--- trunk/vim7/patches/150_asterisk.vim.diff	2006-03-25 21:35:55 UTC (rev 518)
+++ trunk/vim7/patches/150_asterisk.vim.diff	2006-03-25 22:51:51 UTC (rev 519)
@@ -1,81 +0,0 @@
-Index: vim/runtime/syntax/asterisk.vim
-===================================================================
---- vim/runtime/syntax/asterisk.vim.orig
-+++ vim/runtime/syntax/asterisk.vim
-@@ -1,8 +1,8 @@
- " Vim syntax file
- " Language:	Asterisk config file
- " Maintainer:	brc007
--" Last Change:	2005 Sep 19
--" version 0.2
-+" Last Change:	2005 Dec 1
-+" version 0.3
- "
- " Additional changes made 2005 Mar 7 by Corydon76
- " * CVS priority, including n and s, and new label definitions
-@@ -10,6 +10,11 @@
- " * Class patterns in extensions now match only the class pattern (instead of to a following expression)
- " * anthm's functions are matched
- " * Variables now appear in their own colors inside expressions
-+"
-+" Additional changes made 2005 Dec 1 by Matthew A. Nicholson
-+" * Made highlighting less specific to extensions.conf
-+" * Made highlighting more robust and flexible
-+" 
- 
- " For version 5.x: Clear all syntax items
- " For version 6.x: Quit when a syntax file was already loaded
-@@ -24,21 +29,19 @@
- syn sync fromstart
- 
- 
--syn keyword	asteriskTodo	TODO contained
--syn match	asteriskComment		";.*" contains=asteriskTodo
--syn match       asteriskContext         "\[.\{-}\]"
--syn match	asteriskExten		"^\s*exten\s*=>"
--syn match       asteriskApp             "\s*,\s*\zs[a-zA-Z]*\ze"
--" Digits plus oldlabel (newlabel)
--syn match       asteriskPriority        ",[[:digit:]]\+\(+[[:alpha:]][[:alnum:]_]*\)\?\(([[:alpha:]][[:alnum:]_]*)\)\?,"
--" s or n plus digits (newlabel)
--syn match       asteriskPriority        ",[sn]\(+[[:digit:]]\+\)\?\(([[:alpha:]][[:alnum:]_]*)\)\?,"
--syn match       asteriskIncludeBad "^\s*#\s*[[:alnum:]]*"
--syn match       asteriskInclude		"^\s#\sinclude\s.*"
--syn match       asteriskVar             "\${_\{0,2}[[:alpha:]][[:alnum:]_]*\(:[[:digit:]]\+\)\{0,2}}"
--syn match       asteriskVarLen          "\${_\{0,2}[[:alpha:]][[:alnum:]_]*(.\{-})}" contains=asteriskVar,asteriskVarLen,asteriskExp
--syn match       asteriskExp             "\$\[.\{-}\]" contains=asteriskVar,asteriskVarLen,asteriskExp
--syn match       asteriskFunc            "\$([[:alpha:]][[:alnum:]_]*.*)" contains=asteriskVar,asteriskVarLen,asteriskExp
-+syn keyword	asteriskTodo		TODO contained
-+syn match	asteriskComment		/;.*/ contains=asteriskTodo
-+syn match       asteriskContext         /\[.\{-}\]/
-+syn match	asteriskStatement	/^\s*\w\+\s*=>\?\s*.*/ contains=asteriskOperator,asteriskKeyword,asteriskData,asteriskComment,asteriskVar,asteriskVarLen,asteriskExp,asteriskFunc
-+syn match	asteriskKeyword		/\w\+\s*=>\?/ contained contains=asteriskOperator
-+syn match	asteriskData		/=>\?.*/ contained contains=asteriskOperator
-+syn match	asteriskOperator	/=>\?\|,\||\|(\|)/ contained
-+syn match       asteriskIncludeBad	/^\s*#\s*[[:alnum:]]*/
-+syn match       asteriskInclude		/^\s#\sinclude\s.*/
-+syn match       asteriskVar             /\${_\{0,2}[[:alnum:]_-]\+\(:[[:digit:]]*\)\{0,2}}/ contains=asteriskVar
-+syn match       asteriskVarLen          /\${_\{0,2}[[:alnum:]_-]*(.\{-})}/
-+syn match       asteriskExp             /\$\[.\{-}\]/ contains=asteriskVar,asteriskExp,asteriskFunc,asteriskVarLen
-+syn match       asteriskFunc            /\$([[:alnum:]_]*.*)/
- 
- " Define the default highlighting.
- " For version 5.7 and earlier: only when not done already
-@@ -52,14 +55,12 @@
-   endif
- 
- 
--  HiLink	asteriskComment	Comment
--" not sure what type this should be, using String for testing.
--  HiLink	asteriskExten	String
--" same here
-+  HiLink	asteriskComment		Comment
-+  HiLink	asteriskKeyword		Type
-+  HiLink	asteriskOperator	Operator 
-   HiLink	asteriskContext		Identifier 
--  HiLink        asteriskApplication     Statement
-   HiLink        asteriskInclude		Preproc 
--  HiLink        asteriskIncludeBad  Error
-+  HiLink        asteriskIncludeBad	Error
-   HiLink	asteriskPriority	Preproc	
-   HiLink        asteriskVar             String
-   HiLink        asteriskVarLen          Function




More information about the pkg-vim-maintainers mailing list