diff --git a/runtime/queries/typoscript/highlights.scm b/runtime/queries/typoscript/highlights.scm index 2fda5aa22..bc214cba0 100644 --- a/runtime/queries/typoscript/highlights.scm +++ b/runtime/queries/typoscript/highlights.scm @@ -76,9 +76,16 @@ (#any-of? @keyword.operator "and" "or" "xor" "not" "not in" "in" "contains" "starts with" "ends with" "matches")) -"," @punctuation.delimiter +[ + "," + "." +] @punctuation.delimiter -"." @punctuation.delimiter +(symfony_property_access + "." @operator) + +(symfony_method_call + "." @operator) [ "(" @@ -89,10 +96,10 @@ ] @punctuation.bracket (condition - "[" @keyword.conditional) + "[" @punctuation.special) (condition - "]" @keyword.conditional) + "]" @punctuation.special) (symfony_number) @number