wmlindent: don't inednt #arg/#endarg preprocessor tags
[ci ski[]
This commit is contained in:
parent
a2653980b7
commit
7dcb9d09f9
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ opener_prefixes = ["{FOREACH "]
|
|||
|
||||
def is_directive(str):
|
||||
"Identify things that shouldn't be indented."
|
||||
return str.startswith(("#ifdef", "#ifndef", "#ifhave", "#ifnhave", "#ifver", "#ifnver", "#else", "#endif", "#define", "#enddef", "#undef"))
|
||||
return str.startswith(("#ifdef", "#ifndef", "#ifhave", "#ifnhave", "#ifver", "#ifnver", "#else", "#endif", "#define", "#enddef", "#undef", "#arg", "#endarg"))
|
||||
|
||||
def closer(str):
|
||||
"Are we looking at a closing tag?"
|
||||
|
|
Loading…
Add table
Reference in a new issue