Skip to content

Commit

Permalink
Indentation Rules (#306)
Browse files Browse the repository at this point in the history
Co-authored-by: Mark Wiemer <7833360+mark-wiemer@users.noreply.github.com>
  • Loading branch information
kyklish and mark-wiemer committed Jan 29, 2023
1 parent 0485455 commit f8566da
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions language/ahk.configuration.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@
"notIn": ["string"]
}
],
"indentationRules": {
"increaseIndentPattern": "^((?!;).)*\\{[^}]*$",
"decreaseIndentPattern": "^\\s*((?!;)[^{])*\\}.*$",
"indentNextLinePattern": "^\\s*(if|ifmsgbox|else|loop|for|while|catch|If|IfMsgBox|Else|Loop|For|While|Catch)\\b"
},
"surroundingPairs": [
["{", "}"],
["[", "]"],
Expand Down

0 comments on commit f8566da

Please sign in to comment.