Skip to content

Commit 6d5b9bf

Browse files
committed
allow ":" arg in CmdCommandPalette bindings
1 parent ccf8a9c commit 6d5b9bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Commands.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -489,7 +489,7 @@ CustomCommand* CreateCommandFromDefinition(const char* definition) {
489489
if (cmdId == CmdCommandPalette && firstArg) {
490490
// validate mode
491491
const char* s = firstArg->strVal;
492-
static SeqStrings validModes = ">\0#\0@\0"; // TODO: "@@\0" ?
492+
static SeqStrings validModes = ">\0#\0@\0:\0"; // TODO: "@@\0" ?
493493
if (seqstrings::StrToIdx(validModes, s) < 0) {
494494
logf("CreateCommandFromDefinition: invalid CmdCommandPalette mode in '%s'\n", definition);
495495
FreeCommandArgs(firstArg);

0 commit comments

Comments
 (0)