add missing scopeIndex entries
fixes missing scoped vars in /: auto complete
This commit is contained in:
parent
1fc34bd387
commit
ccbc78ed41
|
@ -707,6 +707,7 @@ export class SlashCommandParser {
|
||||||
this.take('/breakpoint'.length);
|
this.take('/breakpoint'.length);
|
||||||
cmd.end = this.index;
|
cmd.end = this.index;
|
||||||
this.commandIndex.push(cmd);
|
this.commandIndex.push(cmd);
|
||||||
|
this.scopeIndex.push(this.scope.getCopy());
|
||||||
return cmd;
|
return cmd;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -721,6 +722,7 @@ export class SlashCommandParser {
|
||||||
this.take('/break'.length);
|
this.take('/break'.length);
|
||||||
cmd.end = this.index;
|
cmd.end = this.index;
|
||||||
this.commandIndex.push(cmd);
|
this.commandIndex.push(cmd);
|
||||||
|
this.scopeIndex.push(this.scope.getCopy());
|
||||||
return cmd;
|
return cmd;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue