This commit is contained in:
Sijie Wang 2025-07-25 15:36:42 -07:00 committed by GitHub
parent aa71438684
commit fbdc8d5ab3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
21 changed files with 5324 additions and 191 deletions

View file

@ -28,6 +28,7 @@ import { restoreCommand } from '../ui/commands/restoreCommand.js';
import { statsCommand } from '../ui/commands/statsCommand.js';
import { themeCommand } from '../ui/commands/themeCommand.js';
import { toolsCommand } from '../ui/commands/toolsCommand.js';
import { vimCommand } from '../ui/commands/vimCommand.js';
/**
* Loads the core, hard-coded slash commands that are an integral part
@ -66,6 +67,7 @@ export class BuiltinCommandLoader implements ICommandLoader {
statsCommand,
themeCommand,
toolsCommand,
vimCommand,
];
return allDefinitions.filter((cmd): cmd is SlashCommand => cmd !== null);