From ccbc78ed41f699fcfc5ba9fac98a742b524c8a27 Mon Sep 17 00:00:00 2001 From: LenAnderson Date: Tue, 25 Jun 2024 22:54:03 -0400 Subject: [PATCH] add missing scopeIndex entries fixes missing scoped vars in /: auto complete --- public/scripts/slash-commands/SlashCommandParser.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/public/scripts/slash-commands/SlashCommandParser.js b/public/scripts/slash-commands/SlashCommandParser.js index dc97991c1..2a59ddbf9 100644 --- a/public/scripts/slash-commands/SlashCommandParser.js +++ b/public/scripts/slash-commands/SlashCommandParser.js @@ -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; }