mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-22 12:27:57 +01:00
Add function completers for services.{get,create}.
This commit is contained in:
@@ -595,6 +595,9 @@ const liberator = (function () //{{{
|
||||
/////////////////////////////////////////////////////////////////////////////{{{
|
||||
|
||||
registerObserver("load_completion", function () {
|
||||
completion.setFunctionCompleter(services.get, [function () services.services]);
|
||||
completion.setFunctionCompleter(services.create, [function () [[c, ""] for (c in services.classes)]]);
|
||||
|
||||
completion.dialog = function dialog(context) {
|
||||
context.title = ["Dialog"];
|
||||
context.completions = config.dialogs;
|
||||
|
||||
Reference in New Issue
Block a user