Skip to content

Commit

Permalink
Fix faulty point creation when resolving a divided fold
Browse files Browse the repository at this point in the history
  • Loading branch information
savetheclocktower committed Sep 28, 2024
1 parent f6ea101 commit 0d0fcf4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wasm-tree-sitter-language-mode.js
Original file line number Diff line number Diff line change
Expand Up @@ -1830,7 +1830,7 @@ class FoldResolver {
// implied in the existing specs.
return new Point(end.row - 1, Infinity);
} else {
return new Point.fromObject(end, true);
return Point.fromObject(end, true);
}
} else {
return null;
Expand Down

0 comments on commit 0d0fcf4

Please sign in to comment.