mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-26 15:04:46 +00:00
Preevent wmlindent from being confused by Shadowmaster's terminal frowney.
(Yes, this is a real description of a real bug...)
This commit is contained in:
parent
5f565e34a5
commit
c927cdc6e3
@ -95,7 +95,7 @@ def opener(str):
|
||||
elif (str.startswith("[") and not closer(str) and not "[/" in str):
|
||||
return True
|
||||
# Trailing ( opens a scope to be closed by ).
|
||||
elif str.endswith("(\n"):
|
||||
elif str.endswith("(\n") and '#' not in str:
|
||||
return True
|
||||
else:
|
||||
for prefix in opener_prefixes:
|
||||
|
Loading…
x
Reference in New Issue
Block a user