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