r117 - in trunk/vim/debian: . patches
Pepijn de Langen
pepijn-guest@costa.debian.org
Sat, 26 Mar 2005 15:15:37 +0000
Author: pepijn-guest
Date: 2005-03-26 15:15:35 +0000 (Sat, 26 Mar 2005)
New Revision: 117
Added:
trunk/vim/debian/patches/119_php.vim.diff
Modified:
trunk/vim/debian/changelog
Log:
added 119_php.vim.diff
Modified: trunk/vim/debian/changelog
===================================================================
--- trunk/vim/debian/changelog 2005-03-26 12:55:45 UTC (rev 116)
+++ trunk/vim/debian/changelog 2005-03-26 15:15:35 UTC (rev 117)
@@ -48,6 +48,10 @@
- added support for command line VARIANT variable to override VARIANTS
- ignores diff error in "make_patch" target since diff usually returns 1
+ * Pepijn de Langen <pepijn@ce.et.tudelft.nl>:
+ + Added patch 119_php.vim.diff (php syntax highlighting backticks)
+ (closes: #144754)
+
-- Norbert Tretkowski <nobse@debian.org> Sat, 26 Mar 2005 11:14:08 +0100
vim (1:6.3-067+2) unstable; urgency=medium
Added: trunk/vim/debian/patches/119_php.vim.diff
===================================================================
--- trunk/vim/debian/patches/119_php.vim.diff 2005-03-26 12:55:45 UTC (rev 116)
+++ trunk/vim/debian/patches/119_php.vim.diff 2005-03-26 15:15:35 UTC (rev 117)
@@ -0,0 +1,32 @@
+diff -Nur vim63.orig/runtime/syntax/php.vim vim63/runtime/syntax/php.vim
+--- vim63.orig/runtime/syntax/php.vim 2004-03-12 17:01:21.000000000 +0100
++++ vim63/runtime/syntax/php.vim 2005-03-26 13:03:39.000000000 +0100
+@@ -326,9 +326,11 @@
+ " String
+ if exists("php_parent_error_open")
+ syn region phpStringDouble matchgroup=None start=+"+ skip=+\\\\\|\\"+ end=+"+ contains=@phpAddStrings,phpIdentifier,phpSpecialChar,phpIdentifierSimply,phpIdentifierComplex contained keepend
++ syn region phpBacktick matchgroup=None start=+`+ skip=+\\\\\|\\"+ end=+`+ contains=@phpAddStrings,phpIdentifier,phpSpecialChar,phpIdentifierSimply,phpIdentifierComplex contained keepend
+ syn region phpStringSingle matchgroup=None start=+'+ skip=+\\\\\|\\'+ end=+'+ contains=@phpAddStrings contained keepend
+ else
+ syn region phpStringDouble matchgroup=None start=+"+ skip=+\\\\\|\\"+ end=+"+ contains=@phpAddStrings,phpIdentifier,phpSpecialChar,phpIdentifierSimply,phpIdentifierComplex contained extend keepend
++ syn region phpBacktick matchgroup=None start=+`+ skip=+\\\\\|\\"+ end=+`+ contains=@phpAddStrings,phpIdentifier,phpSpecialChar,phpIdentifierSimply,phpIdentifierComplex contained extend keepend
+ syn region phpStringSingle matchgroup=None start=+'+ skip=+\\\\\|\\'+ end=+'+ contains=@phpAddStrings contained keepend extend
+ endif
+
+@@ -355,7 +357,7 @@
+ syn match phpParent "[({[\]})]" contained
+ endif
+
+-syn cluster phpClConst contains=phpFunctions,phpIdentifier,phpConditional,phpRepeat,phpStatement,phpOperator,phpRelation,phpStringSingle,phpStringDouble,phpNumber,phpFloat,phpKeyword,phpType,phpBoolean,phpStructure,phpMethodsVar,phpConstant,phpCoreConstant,phpException
++syn cluster phpClConst contains=phpFunctions,phpIdentifier,phpConditional,phpRepeat,phpStatement,phpOperator,phpRelation,phpStringSingle,phpStringDouble,phpBacktick,phpNumber,phpFloat,phpKeyword,phpType,phpBoolean,phpStructure,phpMethodsVar,phpConstant,phpCoreConstant,phpException
+ syn cluster phpClInside contains=@phpClConst,phpComment,phpLabel,phpParent,phpParentError,phpInclude,phpHereDoc
+ syn cluster phpClFunction contains=@phpClInside,phpDefine,phpParentError,phpStorageClass
+ syn cluster phpClTop contains=@phpClFunction,phpFoldFunction,phpFoldClass,phpFoldInterface,phpFoldTry,phpFoldCatch
+@@ -463,6 +465,7 @@
+ HiLink phpStructure Structure
+ HiLink phpStringSingle String
+ HiLink phpStringDouble String
++ HiLink phpBacktick String
+ HiLink phpNumber Number
+ HiLink phpFloat Float
+ HiLink phpMethods Function