Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9c5b76510d | ||
|
|
1b6b25c137 | ||
|
|
e84a08e22b |
+1
-1
@@ -2,7 +2,7 @@
|
|||||||
"name": "nx-post-support",
|
"name": "nx-post-support",
|
||||||
"displayName": "NX Postprocessor Support",
|
"displayName": "NX Postprocessor Support",
|
||||||
"description": "",
|
"description": "",
|
||||||
"version": "0.4.3",
|
"version": "0.4.4",
|
||||||
"publisher": "Christoph",
|
"publisher": "Christoph",
|
||||||
"serverInfo": {
|
"serverInfo": {
|
||||||
"name": "NX Postprocessor Support",
|
"name": "NX Postprocessor Support",
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ def format_tcl(src: str, indent_str=" ") -> str:
|
|||||||
continue
|
continue
|
||||||
|
|
||||||
# 3) SPECIAL: closing brace plus tag on same line: '} Tag'
|
# 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:
|
if m:
|
||||||
# close one block
|
# close one block
|
||||||
level = max(level - 1, 0)
|
level = max(level - 1, 0)
|
||||||
|
|||||||
Reference in New Issue
Block a user