mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-04-03 15:23:32 +02:00
Prepare for merge with testing branch.
This commit is contained in:
@@ -83,7 +83,7 @@ const AutoCommands = Module("autocommands", {
|
||||
}
|
||||
});
|
||||
|
||||
let list = template.commandOutput(
|
||||
let list = template.commandOutput(commandline.command,
|
||||
<table>
|
||||
<tr highlight="Title">
|
||||
<td colspan="2">----- Auto Commands -----</td>
|
||||
@@ -257,8 +257,6 @@ const AutoCommands = Module("autocommands", {
|
||||
});
|
||||
},
|
||||
completion: function () {
|
||||
JavaScript.setCompleter(this.get, [function () Iterator(config.autocommands)]);
|
||||
|
||||
completion.autocmdEvent = function autocmdEvent(context) {
|
||||
context.completions = Iterator(config.autocommands);
|
||||
};
|
||||
@@ -268,6 +266,9 @@ const AutoCommands = Module("autocommands", {
|
||||
context.completions = [item for (item in events.getMacros())];
|
||||
};
|
||||
},
|
||||
javascript: function () {
|
||||
JavaScript.setCompleter(this.get, [function () Iterator(config.autocommands)]);
|
||||
},
|
||||
options: function () {
|
||||
options.add(["eventignore", "ei"],
|
||||
"List of autocommand event names which should be ignored",
|
||||
|
||||
Reference in New Issue
Block a user