diff options
author | 2022-07-27 16:34:14 +0200 | |
---|---|---|
committer | 2022-07-27 16:34:14 +0200 | |
commit | deaa0580d952b77cf9e6df024d1f71ed29f53fc0 (patch) | |
tree | 95a4e538b21c13674de99a6645bae1424714721a /subprojects/frontend/src/language/indentation.ts | |
parent | docs: Add note about proxy settings (diff) | |
download | refinery-deaa0580d952b77cf9e6df024d1f71ed29f53fc0.tar.gz refinery-deaa0580d952b77cf9e6df024d1f71ed29f53fc0.tar.zst refinery-deaa0580d952b77cf9e6df024d1f71ed29f53fc0.zip |
chore: bump dependencies
Diffstat (limited to 'subprojects/frontend/src/language/indentation.ts')
-rw-r--r-- | subprojects/frontend/src/language/indentation.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/subprojects/frontend/src/language/indentation.ts b/subprojects/frontend/src/language/indentation.ts index 6d36ed3b..55dcd7f1 100644 --- a/subprojects/frontend/src/language/indentation.ts +++ b/subprojects/frontend/src/language/indentation.ts | |||
@@ -23,7 +23,7 @@ function findAlignmentAfterOpening(context: TreeIndentContext): number | null { | |||
23 | const lineEnd = simulatedBreak == null || simulatedBreak <= openingLine.from | 23 | const lineEnd = simulatedBreak == null || simulatedBreak <= openingLine.from |
24 | ? openingLine.to | 24 | ? openingLine.to |
25 | : Math.min(openingLine.to, simulatedBreak); | 25 | : Math.min(openingLine.to, simulatedBreak); |
26 | const { cursor } = openingToken; | 26 | const cursor = openingToken.cursor(); |
27 | while (cursor.next() && cursor.from < lineEnd) { | 27 | while (cursor.next() && cursor.from < lineEnd) { |
28 | if (!cursor.type.isSkipped) { | 28 | if (!cursor.type.isSkipped) { |
29 | return cursor.from; | 29 | return cursor.from; |