Add 'yield' to the list of keywords (as of PHP 5.5).
This commit is contained in:
parent
c85155b2c2
commit
dface50c42
2 changed files with 2 additions and 2 deletions
|
@ -124,7 +124,7 @@ ${code}
|
|||
syntax keyword phpClasses containedin=ALLBUT,phpComment,phpStringDouble,phpStringSingle,phpIdentifier,phpMethodsVar
|
||||
|
||||
" Control Structures
|
||||
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
|
||||
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 yield contained
|
||||
|
||||
" Exception Keywords
|
||||
syn keyword phpKeyword try catch finally throw contained
|
||||
|
|
|
@ -327,7 +327,7 @@ syn keyword phpFunctions readgzfile gzrewind gzclose gzeof gzgetc gzgets gzgetss
|
|||
syntax keyword phpClasses containedin=ALLBUT,phpComment,phpStringDouble,phpStringSingle,phpIdentifier,phpMethodsVar
|
||||
|
||||
" Control Structures
|
||||
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
|
||||
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 yield contained
|
||||
|
||||
" Exception Keywords
|
||||
syn keyword phpKeyword try catch finally throw contained
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue