From 7e86998ef91e348bc51065e7e527b006d5eeb3ff Mon Sep 17 00:00:00 2001 From: Matt Bierner Date: Wed, 9 Jan 2019 12:58:20 -0800 Subject: [PATCH] Fixes #66247 Allow markdown comments to match blocks that contain extra docs on first line --- .../syntaxes/MarkdownDocumentationInjection.tmLanguage.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/typescript-basics/syntaxes/MarkdownDocumentationInjection.tmLanguage.json b/extensions/typescript-basics/syntaxes/MarkdownDocumentationInjection.tmLanguage.json index d7711577168..4794b38e2e1 100644 --- a/extensions/typescript-basics/syntaxes/MarkdownDocumentationInjection.tmLanguage.json +++ b/extensions/typescript-basics/syntaxes/MarkdownDocumentationInjection.tmLanguage.json @@ -7,7 +7,7 @@ ], "repository": { "markdown-comment": { - "begin": "(?<=/\\*\\*)\\s*$", + "begin": "(?<=/\\*\\*)([^*]|\\*(?!/))*$", "while": "(^|\\G)\\s*\\*(?!/)(?=([^*]|[*](?!/))*$)", "patterns": [ {