From 625aed31cffd95f8981f162564af98c35960e50b Mon Sep 17 00:00:00 2001 From: _Kerman Date: Tue, 6 Aug 2024 11:37:53 +0800 Subject: [PATCH] fix(vscode): textmate grammar (#1798) --- packages/vscode/syntaxes/slidev.tmLanguage.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/vscode/syntaxes/slidev.tmLanguage.json b/packages/vscode/syntaxes/slidev.tmLanguage.json index cb13490d0a..9ecc3bfa56 100644 --- a/packages/vscode/syntaxes/slidev.tmLanguage.json +++ b/packages/vscode/syntaxes/slidev.tmLanguage.json @@ -96,7 +96,7 @@ "patterns": [ { "begin": "\\G", - "end": "(?=(^|\\G)(---).*$)", + "while": "^(?!(^|\\G)(---).*$)", "contentName": "meta.embedded.block.yaml", "patterns": [ {