mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-03 13:44:11 +01:00
Add some standard JS function completers for the liberator API
This commit is contained in:
@@ -171,6 +171,12 @@ function AutoCommands() //{{{
|
||||
////////////////////// PUBLIC SECTION //////////////////////////////////////////
|
||||
/////////////////////////////////////////////////////////////////////////////{{{
|
||||
|
||||
liberator.registerObserver("load_completion", function ()
|
||||
{
|
||||
completion.setFunctionCompleter(autocommands.get, [function () config.autocommands]);
|
||||
});
|
||||
|
||||
|
||||
return {
|
||||
|
||||
__iterator__: function () util.Array.iterator(store),
|
||||
|
||||
Reference in New Issue
Block a user