From 6dfbca8f7218a5732733230e145fe970b62003b1 Mon Sep 17 00:00:00 2001 From: Teddytrombone Date: Sun, 14 Dec 2025 11:44:46 +0100 Subject: [PATCH] Some minor changes according to suggestions --- runtime/queries/typoscript/highlights.scm | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) 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