Remove non-functional DuckDuckGo Autocomplete Provider

This commit is contained in:
Michael Telatynski 2021-08-31 16:05:16 +01:00
parent 0a09682982
commit 0cd00ae64f
5 changed files with 1 additions and 138 deletions

View file

@ -53,7 +53,7 @@ export default class CommandProvider extends AutocompleteProvider {
// The input looks like a command with arguments, perform exact match
const name = command[1].substr(1); // strip leading `/`
if (CommandMap.has(name) && CommandMap.get(name).isEnabled()) {
// some commands, namely `me` and `ddg` don't suit having the usage shown whilst typing their arguments
// some commands, namely `me` don't suit having the usage shown whilst typing their arguments
if (CommandMap.get(name).hideCompletionAfterSpace) return [];
matches = [CommandMap.get(name)];
}