Playground: autofold more AST properties (#10596)

This commit is contained in:
Georgii Dolzhykov authored and GitHub committed 2021-03-26 01:48:36 +02:00
1 parent 4bdff2d47f
commit dfd471f334
1 file changed
+1 -1
+1 -1
View File
@@ -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":/,