From 35404b7d5d1bb0d17ffb1eeee352aaa08c1f1cc0 Mon Sep 17 00:00:00 2001 From: Jason Woofenden Date: Sat, 26 Dec 2015 13:52:43 -0500 Subject: [PATCH] add new-ish class "magic methods" --- php.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/php.vim b/php.vim index 958e2a6..94d1b0b 100644 --- a/php.vim +++ b/php.vim @@ -1,7 +1,7 @@ " Vim syntax file " Language: php PHP 3/4/5 " Maintainer: Jason Woofenden -" Last Change: Nov 23, 2015 +" Last Change: Dec 26, 2015 " URL: https://jasonwoof.com/gitweb/?p=vim-syntax.git;a=blob;f=php.vim;hb=HEAD " Former Maintainers: Peter Hodge " Debian VIM Maintainers @@ -515,7 +515,7 @@ syntax keyword phpStatement die contained " Highlighting for PHP5's user-definable magic class methods syntax keyword phpSpecialFunction containedin=ALLBUT,phpComment,phpStringDouble,phpStringSingle,phpIdentifier - \ __construct __destruct __call __toString __sleep __wakeup __set __get __unset __isset __clone __set_state + \ __construct __destruct __call __callStatic __get __set __isset __unset __sleep __wakeup __toString __invoke __set_state __clone __debugInfo " Highlighting for __autoload slightly different from line above syntax keyword phpSpecialFunction containedin=ALLBUT,phpComment,phpStringDouble,phpStringSingle,phpIdentifier,phpMethodsVar \ __autoload -- 1.7.10.4