mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-04 01:34:12 +01:00
Normalise the standard completer signatures to fn(context, args, ...).
This also fixes a number of the :command completers. --HG-- extra : rebase_source : 588a9b5a163ba3882c89d0716f292ef9658297f6
This commit is contained in:
@@ -215,7 +215,6 @@ const Abbreviations = Module("abbreviations", {
|
||||
}, {
|
||||
}, {
|
||||
completion: function () {
|
||||
// TODO: shouldn't all of these have a standard signature (context, args, ...)? --djk
|
||||
completion.abbreviation = function abbreviation(context, args, modes) {
|
||||
if (args.completeArg == 0) {
|
||||
let abbrevs = abbreviations.merged.filter(function (abbr) abbr.inModes(modes));
|
||||
|
||||
Reference in New Issue
Block a user