From f3e270950078efcada9498e2d124d5bb0114b6d7 Mon Sep 17 00:00:00 2001 From: RedCMD Date: Tue, 27 Aug 2024 23:57:21 +1200 Subject: [PATCH] Fix breaking out inside minify code --- syntaxes/package.json.tmLanguage.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/syntaxes/package.json.tmLanguage.json b/syntaxes/package.json.tmLanguage.json index ad1c8ba..478ee21 100644 --- a/syntaxes/package.json.tmLanguage.json +++ b/syntaxes/package.json.tmLanguage.json @@ -9,8 +9,7 @@ "repository": { "scripts": { "begin": "(?=\"scripts\")", - "end": "(?<=,)|(?=})", - "applyEndPatternLast": true, + "end": "(?<=,)(?!\\G)|(?=})", "name": "meta.embedded.shellscript.json.package", "patterns": [ { "include": "source.json#objectkey" },