Playground: autofold more AST properties (#10596)
This commit is contained in:
1 parent
4bdff2d47f
commit
dfd471f334
1 file changed
+1
-1
@@ -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":/,
|
||||
|
||||
Reference in new issue
Block a user