From c68398f18f684761c48390d0fdee9a9c6502877b Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Sun, 21 May 2017 10:11:42 +0200 Subject: [PATCH] syntax: php: color "static" again as "function", like it used to be --- syntax/php.nanorc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/syntax/php.nanorc b/syntax/php.nanorc index a69c85a1..37d09780 100644 --- 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)\>"