From aaf3338e6fb621211df2d27e76187405d5405ef6 Mon Sep 17 00:00:00 2001 From: Stan Angeloff Date: Mon, 16 Apr 2012 16:46:37 +0300 Subject: [PATCH] Update template and get rid of whitespace at EOL. --- syntax/php.template | 11 +++++------ syntax/php.vim | 11 +++++------ 2 files changed, 10 insertions(+), 12 deletions(-) diff --git a/syntax/php.template b/syntax/php.template index 91cd476..ee61a1e 100644 --- a/syntax/php.template +++ b/syntax/php.template @@ -1,8 +1,8 @@ " Vim syntax file " Language: PHP 5.3 & up " Maintainer: Paul Garvin -" Last Change: April 2, 2010 -" URL: +" Contributor: Stan Angeloff +" URL: https://github.com/StanAngeloff/php.vim " " Former Maintainer: Peter Hodge " Former URL: http://www.vim.org/scripts/script.php?script_id=1571 @@ -48,9 +48,8 @@ " will highight '->someOtherVar->bar' as though they will be parsed " as object member variables, but PHP only recognizes the first " object member variable ($foo->someVar). -" -" -" + + if exists("b:current_syntax") finish endif @@ -89,7 +88,7 @@ if exists("php_html_in_strings") endif syn case match - + " Superglobals syn keyword phpSuperglobals GLOBALS _GET _POST _REQUEST _FILES _COOKIE _SERVER _SESSION _ENV HTTP_RAW_POST_DATA php_errormsg http_response_header argc argv contained diff --git a/syntax/php.vim b/syntax/php.vim index 06934df..c7f0ba6 100644 --- a/syntax/php.vim +++ b/syntax/php.vim @@ -1,8 +1,8 @@ " Vim syntax file " Language: PHP 5.3 & up " Maintainer: Paul Garvin -" Last Change: April 2, 2010 -" URL: +" Contributor: Stan Angeloff +" URL: https://github.com/StanAngeloff/php.vim " " Former Maintainer: Peter Hodge " Former URL: http://www.vim.org/scripts/script.php?script_id=1571 @@ -48,9 +48,8 @@ " will highight '->someOtherVar->bar' as though they will be parsed " as object member variables, but PHP only recognizes the first " object member variable ($foo->someVar). -" -" -" + + if exists("b:current_syntax") finish endif @@ -89,7 +88,7 @@ if exists("php_html_in_strings") endif syn case match - + " Superglobals syn keyword phpSuperglobals GLOBALS _GET _POST _REQUEST _FILES _COOKIE _SERVER _SESSION _ENV HTTP_RAW_POST_DATA php_errormsg http_response_header argc argv contained