mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 18:42:27 +01:00
Add 'javascript' module. Misc fixes along the way.
This commit is contained in:
@@ -250,7 +250,7 @@ const AutoCommands = Module("autocommands", {
|
||||
});
|
||||
},
|
||||
completion: function () {
|
||||
completion.setFunctionCompleter(autocommands.get, [function () config.autocommands]);
|
||||
JavaScript.setCompleter(this.get, [function () config.autocommands]);
|
||||
|
||||
completion.autocmdEvent = function autocmdEvent(context) {
|
||||
context.completions = config.autocommands;
|
||||
|
||||
Reference in New Issue
Block a user