commit c68398f18f684761c48390d0fdee9a9c6502877b parent d653aeab93541b1a7c09c6ffaa61680cf2c60e53 Author: Benno Schulenberg <bensberg@justemail.net> Date: Sun, 21 May 2017 10:11:42 +0200 syntax: php: color "static" again as "function", like it used to be Diffstat:
M | syntax/php.nanorc | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/syntax/php.nanorc b/syntax/php.nanorc @@ -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)\>"