Compare commits

..
3 Commits
Author SHA1 Message Date
Christoph 95ddae6d13 Merge pull request 'fix buffer @ in formatter' (#14) from tcl_language_support into main
/ build_and_publish (push) Successful in 45s
Reviewed-on: #14
2025-07-21 05:38:09 +00:00
Christoph Brandau a6f616a89d fix buffer @ in formatter 2025-07-21 07:37:31 +02:00
Christoph 632fc32c3e Update version to 0.4.5 2025-07-21 05:16:43 +00:00
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
"name": "nx-post-support",
"displayName": "NX Postprocessor Support",
"description": "",
"version": "0.4.4",
"version": "0.4.5",
"publisher": "Christoph",
"serverInfo": {
"name": "NX Postprocessor Support",
+1 -1
View File
@@ -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+(.+)", stripped)
if m:
# close one block
level = max(level - 1, 0)