fix CommandMap typo
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
7c3873b449
commit
ef39327073
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ export default class CommandProvider extends AutocompleteProvider {
|
|||
const name = command[1].substr(1); // strip leading `/`
|
||||
if (CommandMap[name]) {
|
||||
// some commands, namely `me` and `ddg` don't suit having the usage shown whilst typing their arguments
|
||||
if (!CommandMap[name].hideCompletionAfterSpace) return [];
|
||||
if (CommandMap[name].hideCompletionAfterSpace) return [];
|
||||
matches = [CommandMap[name]];
|
||||
}
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue