From 0dbbefd1bcd5dc76cba32696277264031dc56f65 Mon Sep 17 00:00:00 2001 From: Teddytrombone Date: Sat, 13 Dec 2025 11:02:13 +0100 Subject: [PATCH] Formatting applied; restored conditional brackets --- runtime/queries/typoscript/folds.scm | 2 ++ runtime/queries/typoscript/highlights.scm | 14 ++++++++------ runtime/queries/typoscript/injections.scm | 2 +- 3 files changed, 11 insertions(+), 7 deletions(-) diff --git a/runtime/queries/typoscript/folds.scm b/runtime/queries/typoscript/folds.scm index da8d750aa..2bb3f69c5 100644 --- a/runtime/queries/typoscript/folds.scm +++ b/runtime/queries/typoscript/folds.scm @@ -5,5 +5,7 @@ ] @fold (import_legacy)+ @fold + (import)+ @fold + (comment)+ @fold diff --git a/runtime/queries/typoscript/highlights.scm b/runtime/queries/typoscript/highlights.scm index 81b450858..2fda5aa22 100644 --- a/runtime/queries/typoscript/highlights.scm +++ b/runtime/queries/typoscript/highlights.scm @@ -73,9 +73,11 @@ (symfony_ternary_operator) @keyword.conditional.ternary ((symfony_condition_operator) @keyword.operator - (#any-of? @keyword.operator "and" "or" "xor" "not" "not in" "in" "contains" "starts with" "ends with" "matches")) + (#any-of? @keyword.operator + "and" "or" "xor" "not" "not in" "in" "contains" "starts with" "ends with" "matches")) "," @punctuation.delimiter + "." @punctuation.delimiter [ @@ -86,11 +88,11 @@ (block_punctuation) ] @punctuation.bracket -; (condition -; "[" @keyword.conditional) -; -; (condition -; "]" @keyword.conditional) +(condition + "[" @keyword.conditional) + +(condition + "]" @keyword.conditional) (symfony_number) @number diff --git a/runtime/queries/typoscript/injections.scm b/runtime/queries/typoscript/injections.scm index cfbb09cd1..8c36579ea 100644 --- a/runtime/queries/typoscript/injections.scm +++ b/runtime/queries/typoscript/injections.scm @@ -5,7 +5,7 @@ (multiline_value_content) @injection.content)) (#lua-match? @_id "_CSS_DEFAULT_STYLE$") (#set! injection.language "css")) - ; (#set! injection.overlay "constant")) +; (#set! injection.overlay "constant")) ((comment) @injection.content (#set! injection.language "comment"))