add missing scopeIndex entries

fixes missing scoped vars in /: auto complete
This commit is contained in:
LenAnderson 2024-06-25 22:54:03 -04:00
parent 1fc34bd387
commit ccbc78ed41
1 changed files with 2 additions and 0 deletions

View File

@ -707,6 +707,7 @@ export class SlashCommandParser {
this.take('/breakpoint'.length);
cmd.end = this.index;
this.commandIndex.push(cmd);
this.scopeIndex.push(this.scope.getCopy());
return cmd;
}
@ -721,6 +722,7 @@ export class SlashCommandParser {
this.take('/break'.length);
cmd.end = this.index;
this.commandIndex.push(cmd);
this.scopeIndex.push(this.scope.getCopy());
return cmd;
}