mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-10-17 12:52:29 +02:00
Add commands.get completer. Add more JS completer tests.
--HG-- branch : groups
This commit is contained in:
1 parent
89020be0ee
commit
56a28ec0fa
3 files changed
+20
-10
No files matched your search
@@ -1545,7 +1545,9 @@ var Commands = Module("commands", {
|
||||
const { JavaScript, commands } = modules;
|
||||
|
||||
JavaScript.setCompleter([commands.user.get, commands.user.remove],
|
||||
[function () [[c.name, c.description] for (c in this)]]);
|
||||
[function () [[c.names, c.description] for (c in this)]]);
|
||||
JavaScript.setCompleter([commands.get],
|
||||
[function () [[c.names, c.description] for (c in this.iterator())]]);
|
||||
},
|
||||
mappings: function (dactyl, modules, window) {
|
||||
const { commands, mappings, modes } = modules;
|
||||
|
||||
Reference in new issue
Block a user