mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 07:48:02 +01:00
Add template.listCompleter to list completion results to the MOW.
This commit is contained in:
@@ -117,7 +117,7 @@ function CommandLine() //{{{
|
||||
if (events.feedingKeys)
|
||||
return;
|
||||
completionContext.reset();
|
||||
completionContext.fork("ex", 0, completion.ex, completion);
|
||||
completionContext.fork("ex", 0, completion, "ex");
|
||||
commandline.setCompletions(completionContext.allItems);
|
||||
});
|
||||
|
||||
@@ -261,7 +261,7 @@ function CommandLine() //{{{
|
||||
liberator.registerCallback("complete", modes.EX, function (str) {
|
||||
completionContext.reset();
|
||||
completionContext.tabPressed = true;
|
||||
completionContext.fork("ex", 0, completion.ex, completion);
|
||||
completionContext.fork("ex", 0, completion, "ex");
|
||||
return completionContext.allItems;
|
||||
});
|
||||
liberator.registerCallback("change", modes.EX, function (command) {
|
||||
|
||||
Reference in New Issue
Block a user