fix buffer @ in formatter
This commit is contained in:
@@ -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+(.+)", 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