mondo: remember pair locations
+ allow passing a scope to MondoRunner.run + make def a side effect + proper lambda with multiple args + closure
This commit is contained in:
parent
f2372e7a41
commit
94a3a60e49
3 changed files with 38 additions and 31 deletions
|
|
@ -93,7 +93,7 @@ export function mondo(code, offset = 0) {
|
|||
if (Array.isArray(code)) {
|
||||
code = code.join('');
|
||||
}
|
||||
const pat = runner.run(code, offset);
|
||||
const pat = runner.run(code, undefined, offset);
|
||||
return pat.markcss('color: var(--caret,--foreground);text-decoration:underline');
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue