Skip to content

Commit 7e86998

Browse files
committed
Allow markdown comments to match blocks that contain extra docs on first line
1 parent 2999972 commit 7e86998

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

extensions/typescript-basics/syntaxes/MarkdownDocumentationInjection.tmLanguage.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
],
88
"repository": {
99
"markdown-comment": {
10-
"begin": "(?<=/\\*\\*)\\s*$",
10+
"begin": "(?<=/\\*\\*)([^*]|\\*(?!/))*$",
1111
"while": "(^|\\G)\\s*\\*(?!/)(?=([^*]|[*](?!/))*$)",
1212
"patterns": [
1313
{

0 commit comments

Comments
 (0)