syntax: php: color "static" again as "function", like it used to be

master
Benno Schulenberg 2017-05-21 10:11:42 +02:00
parent d653aeab93
commit c68398f18f
1 changed files with 2 additions and 2 deletions

View File

@ -13,10 +13,10 @@ color white "\<[a-z_]*\("
color cyan "\$[a-z_]+"
# Types.
color green "\<(array|bool|callable|const|float|global|int|object|static|string|var)\>"
color green "\<(array|bool|callable|const|float|global|int|object|string|var)\>"
# Directives and structure.
color brightyellow "\<(abstract|as|class|clone|declare|enddeclare|extends|function|implements|include(_once)?|inst(ance|ead)of|interface|namespace|new|private|protected|public|require(_once)?|trait|use|yield)\>"
color brightyellow "\<(abstract|as|class|clone|(end)?declare|extends|function|implements|include(_once)?|inst(ance|ead)of|interface|namespace|new|private|protected|public|require(_once)?|static|trait|use|yield)\>"
color brightyellow "\<(case|catch|default|do|echo|else(if)?|end(for(each)?|if|switch|while)|final(ly)?|for(each)?|if|print|switch|throw|try|while)\>"
# Operators.
color brightyellow "\<(and|or|xor)\>"