Skip to content

Commit 89336a9

Browse files
author
Jesús Alonso Abad
committed
Perl5 support to fold POD blocks
POD blocks (as defined with the =pod and =cut tags) should be foldable. This documentation format is excessively verbose and clutters the file when other sections are folded (especially after a "fold all" operation).
1 parent 4039ea8 commit 89336a9

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

extensions/perl/perl.language-configuration.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,11 @@
2222
["\"", "\""],
2323
["'", "'"],
2424
["`", "`"]
25-
]
25+
],
26+
"folding": {
27+
"markers": {
28+
"start": "^=pod\\s*$",
29+
"end": "^=cut\\s*$"
30+
}
31+
}
2632
}

0 commit comments

Comments
 (0)