From 4dd99682647763f9cfd191d68bbb9ad6a0468654 Mon Sep 17 00:00:00 2001 From: giles Date: Sat, 14 Mar 2026 22:00:43 +0000 Subject: [PATCH] Fix bracket highlighting: both ( and ) share open step index When a tag's open step is evaluated, both its opening and closing brackets go big+bold together. Previously close ) had the close step index so it stayed faint until much later. Co-Authored-By: Claude Opus 4.6 (1M context) --- sx/sx/home-stepper.sx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sx/sx/home-stepper.sx b/sx/sx/home-stepper.sx index f4da895..a7a6ff2 100644 --- a/sx/sx/home-stepper.sx +++ b/sx/sx/home-stepper.sx @@ -90,7 +90,7 @@ (do (append! tokens {"text" " " "cls" "" "step" -1}) (build-code-tokens a tokens step-ref indent)))))) (rest expr)) - (append! tokens {"text" ")" "cls" "text-stone-400" "step" (if is-tag (get step-ref "v") open-step)}) + (append! tokens {"text" ")" "cls" "text-stone-400" "step" open-step}) (when is-tag (dict-set! step-ref "v" (+ (get step-ref "v") 1))))) :else nil)))