diff options
Diffstat (limited to 'runtime/queries/php_only/highlights.scm')
| -rw-r--r-- | runtime/queries/php_only/highlights.scm | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/runtime/queries/php_only/highlights.scm b/runtime/queries/php_only/highlights.scm index 2d473dd0c..8258e29ad 100644 --- a/runtime/queries/php_only/highlights.scm +++ b/runtime/queries/php_only/highlights.scm @@ -44,21 +44,16 @@ "protected" "public" "readonly" - (static_modifier) + "static" ] @keyword.modifier -(function_static_declaration - "static" @keyword.modifier) - [ "return" "exit" "yield" + "yield from" ] @keyword.return -(yield_expression - "from" @keyword.return) - [ "case" "else" @@ -107,7 +102,7 @@ [ (php_tag) - "?>" + (php_end_tag) "(" ")" "[" @@ -477,3 +472,9 @@ (comment) @comment @spell (named_label_statement) @label + +(property_hook + (name) @label) + +(visibility_modifier + (operation) @label) |
