From dfd471f3348b264ac620dbd08a782e760503e492 Mon Sep 17 00:00:00 2001 From: Georgii Dolzhykov Date: Fri, 26 Mar 2021 01:48:36 +0200 Subject: [PATCH] Playground: autofold more AST properties (#10596) --- website/playground/util.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/playground/util.js b/website/playground/util.js index b41bde90e..96edd8ebd 100644 --- a/website/playground/util.js +++ b/website/playground/util.js @@ -53,7 +53,7 @@ export function getCodemirrorMode(parser) { } const astAutoFold = { - estree: /^\s*"(loc|start|end)":/, + estree: /^\s*"(loc|start|end|tokens|leadingComments|trailingComments|innerComments)":/, postcss: /^\s*"(source|input|raws|file)":/, html: /^\s*"(sourceSpan|valueSpan|nameSpan|startSourceSpan|endSourceSpan|tagDefinition)":/, mdast: /^\s*"position":/,