mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 09:48:00 +01:00
Completion improvements, including basic completion contexts (very incomplete)
This commit is contained in:
@@ -336,7 +336,7 @@ const liberator = (function () //{{{
|
||||
},
|
||||
{
|
||||
bang: true,
|
||||
completer: function (filter) completion.javascript(filter),
|
||||
completer: function (filter, bang, args, context) completion.javascript(context),
|
||||
hereDoc: true
|
||||
});
|
||||
|
||||
@@ -1161,10 +1161,6 @@ const liberator = (function () //{{{
|
||||
|
||||
liberator.log("All modules loaded", 3);
|
||||
|
||||
// TODO: move elsewhere
|
||||
liberator.registerCallback("submit", modes.EX, function (command) { liberator.execute(command); });
|
||||
liberator.registerCallback("complete", modes.EX, function (str) { return completion.ex(str); });
|
||||
|
||||
// first time intro message
|
||||
const firstTime = "extensions." + config.name.toLowerCase() + ".firsttime";
|
||||
if (options.getPref(firstTime, true))
|
||||
|
||||
Reference in New Issue
Block a user