From 1b6b25c137bcb5140a10441a99772d6e64921849 Mon Sep 17 00:00:00 2001 From: Christoph Brandau Date: Mon, 21 Jul 2025 07:15:27 +0200 Subject: [PATCH] fix formatter for buffers --- server/src/common/formatter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/common/formatter.py b/server/src/common/formatter.py index 356d887..a5712d4 100644 --- a/server/src/common/formatter.py +++ b/server/src/common/formatter.py @@ -28,7 +28,7 @@ def format_tcl(src: str, indent_str=" ") -> str: continue # 3) SPECIAL: closing brace plus tag on same line: '} Tag' - m = re.match(r"^\}\s+\w+.*", stripped) + m = re.match(r"^\}\s+(\w+.*)", stripped) if m: # close one block level = max(level - 1, 0)