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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue