From e231676f34a08f8b82edd3ea8563b48968645915 Mon Sep 17 00:00:00 2001 From: Stan Angeloff Date: Mon, 25 Feb 2013 08:56:48 +0200 Subject: [PATCH] Clean up syntax file, no functional changes. --- syntax/php.template | 11 ----------- syntax/php.vim | 11 ----------- 2 files changed, 22 deletions(-) diff --git a/syntax/php.template b/syntax/php.template index 63761d0..e8db512 100644 --- a/syntax/php.template +++ b/syntax/php.template @@ -266,19 +266,9 @@ if exists("php_folding") && php_folding==1 syn region phpFoldCatch matchgroup=Exception start="^\z(\s*\)catch\s\+\([^}]*$\)\@=" matchgroup=Delimiter end="^\z1}" contains=@phpClFunction,phpFoldFunction contained transparent fold extend syn region phpFoldTry matchgroup=Exception start="^\z(\s*\)try\s\+\([^}]*$\)\@=" matchgroup=Delimiter end="^\z1}" contains=@phpClFunction,phpFoldFunction contained transparent fold extend elseif exists("php_folding") && php_folding==2 -" syn keyword phpDefine function contained -" syn keyword phpStructure abstract class interface contained -" syn keyword phpException catch throw try contained -" syn keyword phpStorageClass final global private protected public static contained - set foldmethod=syntax syn region phpFoldHtmlInside matchgroup=Delimiter start="?>" end="\s*$" syn sync match phpRegionSync grouphere NONE "^\s*%>\s*$" syn sync match phpRegionSync grouphere phpRegion "function\s.*(.*\$" - "syn sync match phpRegionSync grouphere NONE "/\i*>\s*$" elseif php_sync_method>0 exec "syn sync minlines=" . php_sync_method else diff --git a/syntax/php.vim b/syntax/php.vim index ad91c8a..6134041 100644 --- a/syntax/php.vim +++ b/syntax/php.vim @@ -467,19 +467,9 @@ if exists("php_folding") && php_folding==1 syn region phpFoldCatch matchgroup=Exception start="^\z(\s*\)catch\s\+\([^}]*$\)\@=" matchgroup=Delimiter end="^\z1}" contains=@phpClFunction,phpFoldFunction contained transparent fold extend syn region phpFoldTry matchgroup=Exception start="^\z(\s*\)try\s\+\([^}]*$\)\@=" matchgroup=Delimiter end="^\z1}" contains=@phpClFunction,phpFoldFunction contained transparent fold extend elseif exists("php_folding") && php_folding==2 -" syn keyword phpDefine function contained -" syn keyword phpStructure abstract class interface contained -" syn keyword phpException catch throw try contained -" syn keyword phpStorageClass final global private protected public static contained - set foldmethod=syntax syn region phpFoldHtmlInside matchgroup=Delimiter start="?>" end="\s*$" syn sync match phpRegionSync grouphere NONE "^\s*%>\s*$" syn sync match phpRegionSync grouphere phpRegion "function\s.*(.*\$" - "syn sync match phpRegionSync grouphere NONE "/\i*>\s*$" elseif php_sync_method>0 exec "syn sync minlines=" . php_sync_method else