Skip to content

Commit 3812a03

Browse files
committed
fix: cut a folding block
1 parent 9dfbf76 commit 3812a03

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/kotlin/com/github/xepozz/php_opcodes_language/language/PHPOpFoldingBuilder.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class PHPOpFoldingBuilder : FoldingBuilderEx(), DumbAware {
2020
.map {
2121
FoldingDescriptor(
2222
it.node,
23-
TextRange(it.blockName.textRange.endOffset + 1, it.textRange.endOffset)
23+
TextRange(it.blockName.textRange.endOffset + 1, it.textRange.endOffset - 1)
2424
)
2525
}
2626

0 commit comments

Comments
 (0)