summaryrefslogtreecommitdiff
path: root/common/.vimfx
diff options
context:
space:
mode:
Diffstat (limited to 'common/.vimfx')
-rw-r--r--common/.vimfx/config.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/.vimfx/config.js b/common/.vimfx/config.js
index ed5c3ba..758cc6d 100644
--- a/common/.vimfx/config.js
+++ b/common/.vimfx/config.js
@@ -606,7 +606,7 @@ const getEngine = name => Services.search.getEngineByName(name)
const removeEngine = name =>
Services.search.removeEngine(getEngine(name))
const addEngine = async (name, {key, url}) =>
- Services.search.addUserEngine(name, url.replace("%s", "{searchTerms}"), key)
+ Services.search.addUserEngine({name, url: url.replace("%s", "{searchTerms}"), alias: key})
async function resetEngine(name, opts) {
if (getEngine(name)) await removeEngine(name)