Compare commits

..
3 Commits
Author SHA1 Message Date
Christoph 1070429039 Merge pull request 'fix the formatter' (#12) from tcl_language_support into main
/ build_and_publish (push) Successful in 47s
Reviewed-on: #12
2025-07-21 04:52:40 +00:00
Christoph Brandau b17a4f8ba0 fix the formatter 2025-07-21 06:52:20 +02:00
Christoph 65732ffac8 Update version to 0.4.3 2025-07-21 04:42:13 +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.2",
"version": "0.4.3",
"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+\w+.*", stripped)
if m:
# close one block
level = max(level - 1, 0)