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:
Eric S. Raymond 2008-08-30 07:34:57 +00:00
parent 5f565e34a5
commit c927cdc6e3

View file

@ -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: