Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2fa34b08f6 | ||
|
|
4e62883347 | ||
|
|
18f635df92 |
+1
-1
@@ -2,7 +2,7 @@
|
||||
"name": "nx-post-support",
|
||||
"displayName": "NX Postprocessor Support",
|
||||
"description": "",
|
||||
"version": "0.4.1",
|
||||
"version": "0.4.2",
|
||||
"publisher": "Christoph",
|
||||
"serverInfo": {
|
||||
"name": "NX Postprocessor Support",
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user