From 4d53ee5c052db67928f4433b2c2a641b1eb4d3b5 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Fri, 13 May 2022 21:22:08 +0900 Subject: highlights(php): improve highlight for attributes --- queries/php/highlights.scm | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'queries/php') diff --git a/queries/php/highlights.scm b/queries/php/highlights.scm index 16f478465..444cc417c 100644 --- a/queries/php/highlights.scm +++ b/queries/php/highlights.scm @@ -103,6 +103,9 @@ (namespace_definition name: (namespace_name) @namespace) +; Attributes +(attribute_list) @attribute + ; Conditions ( ? : ) (conditional_expression) @conditional ; Basic tokens @@ -222,6 +225,7 @@ "]" "{" "}" + "#[" ] @punctuation.bracket [ -- cgit v1.2.3-70-g09d2