From fe47dbe02bc243315ee185e9dc9c68b4e9dc70b2 Mon Sep 17 00:00:00 2001 From: tk-shirasaka Date: Tue, 29 Jun 2021 00:10:58 +0900 Subject: Adds support for PHP's arrow funcion (#1427) Co-authored-by: shirasaka --- queries/php/highlights.scm | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/queries/php/highlights.scm b/queries/php/highlights.scm index 037f05035..200025749 100644 --- a/queries/php/highlights.scm +++ b/queries/php/highlights.scm @@ -75,10 +75,18 @@ ; Keywords +[ + "as" +] @keyword.operator + +[ + "fn" + "function" +] @keyword.function + [ "$" "abstract" - "as" "break" "class" "const" @@ -89,7 +97,6 @@ "enddeclare" "extends" "final" - "function" "global" "implements" "insteadof" -- cgit v1.2.3-70-g09d2