full site update
This commit is contained in:
3
node_modules/@shikijs/engine-javascript/dist/engine-compile.mjs
generated
vendored
3
node_modules/@shikijs/engine-javascript/dist/engine-compile.mjs
generated
vendored
@@ -7,6 +7,9 @@ function defaultJavaScriptRegexConstructor(pattern, options) {
|
||||
{
|
||||
global: true,
|
||||
hasIndices: true,
|
||||
// This has no benefit for the standard JS engine, but it avoids a perf penalty for
|
||||
// precompiled grammars when constructing extremely long patterns that aren't always used
|
||||
lazyCompileLength: 3e3,
|
||||
rules: {
|
||||
// Needed since TextMate grammars merge backrefs across patterns
|
||||
allowOrphanBackrefs: true,
|
||||
|
Reference in New Issue
Block a user