We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff1cea4 commit 918e6feCopy full SHA for 918e6fe
src/client/typeFormatters/codeBlockFormatProvider.ts
@@ -40,8 +40,9 @@ export class CodeBlockFormatProvider {
40
const startPosition = new Position(position.line, 0);
41
const endPosition = new Position(position.line, line.firstNonWhitespaceCharacterIndex - startOfBlockInLine);
42
43
- if (startPosition === endPosition) {
44
- return [];
+ if (startPosition.isEqual(endPosition)) {
+ // current block cannot be at the same level as a preivous block
45
+ continue;
46
}
47
if (options.insertSpaces) {
48
return [
0 commit comments