From 200921f5681760c1d606c01ecab3db1d6b183216 Mon Sep 17 00:00:00 2001 From: Stan Angeloff Date: Thu, 2 Jan 2014 17:19:09 +0200 Subject: [PATCH] Merge @joshtronic commit. This commit merges parts of: https://github.com/joshtronic/php.vim/commit/e9c5d0f6be019be3e5c37c3ef63994adeb4c125d The 'finally' keyword was added to the list of recognised keywords. --- syntax/php.vim | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/syntax/php.vim b/syntax/php.vim index a8aca74..a2f2d32 100644 --- a/syntax/php.vim +++ b/syntax/php.vim @@ -12,6 +12,9 @@ " Contributor: Tim Carry " URL: https://github.com/pixelastic/php.vim " +" Contributor: Joshua Sherman +" URL: https://github.com/joshtronic/php.vim +" " Former Maintainer: Peter Hodge " Former URL: http://www.vim.org/scripts/script.php?script_id=1571 " @@ -327,7 +330,7 @@ syntax keyword phpClasses containedin=ALLBUT,phpComment,phpStringDouble,phpStrin syn keyword phpKeyword if echo else elseif while do for foreach function break switch case default continue return goto as endif endwhile endfor endforeach endswitch declare endeclare print new clone contained " Exception Keywords -syn keyword phpKeyword try catch throw contained +syn keyword phpKeyword try catch finally throw contained " Class Keywords syn keyword phpType class abstract extends interface implements static final var public private protected const trait contained