This commit is contained in:
Matthew Hodgson 2018-05-20 23:43:42 +01:00
parent b616fd025e
commit 4439a04689
4 changed files with 13 additions and 22 deletions

View file

@ -132,8 +132,7 @@ export default class CommandProvider extends AutocompleteProvider {
let results;
if (command[0] == '/') {
results = COMMANDS;
}
else {
} else {
results = this.matcher.match(command[0]);
}
completions = results.map((result) => {