aboutsummaryrefslogtreecommitdiffstats
path: root/subprojects/frontend/src/language/indentation.ts
diff options
context:
space:
mode:
Diffstat (limited to 'subprojects/frontend/src/language/indentation.ts')
-rw-r--r--subprojects/frontend/src/language/indentation.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/subprojects/frontend/src/language/indentation.ts b/subprojects/frontend/src/language/indentation.ts
index b49d6563..a0f7032d 100644
--- a/subprojects/frontend/src/language/indentation.ts
+++ b/subprojects/frontend/src/language/indentation.ts
@@ -78,7 +78,7 @@ export function indentDeclaration(context: TreeIndentContext): number {
78 78
79export function indentPredicateOrRule(context: TreeIndentContext): number { 79export function indentPredicateOrRule(context: TreeIndentContext): number {
80 const clauseIndent = indentDeclarationStrategy(context, 1); 80 const clauseIndent = indentDeclarationStrategy(context, 1);
81 if (/^\s+(?:==>|[;.])/.exec(context.textAfter) !== null) { 81 if (/^\s+(?:->|==>|[;.])/.exec(context.textAfter) !== null) {
82 return clauseIndent - context.unit; 82 return clauseIndent - context.unit;
83 } 83 }
84 return clauseIndent; 84 return clauseIndent;