mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 07:27:58 +01:00
Add template.listCompleter to list completion results to the MOW.
This commit is contained in:
@@ -354,7 +354,7 @@ function Tabs() //{{{
|
||||
{
|
||||
bang: true,
|
||||
count: true,
|
||||
completer: function (context) completion.buffer(context.filter),
|
||||
completer: function (context) completion.buffer(context),
|
||||
literal: true
|
||||
});
|
||||
|
||||
@@ -480,7 +480,7 @@ function Tabs() //{{{
|
||||
{
|
||||
bang: true,
|
||||
count: true,
|
||||
completer: function (context) completion.buffer(context.filter),
|
||||
completer: function (context) completion.buffer(context),
|
||||
literal: true
|
||||
});
|
||||
|
||||
@@ -748,8 +748,7 @@ function Tabs() //{{{
|
||||
|
||||
list: function (filter)
|
||||
{
|
||||
let list = template.generic(completion.buffer(filter)[2]);
|
||||
commandline.echo(list, commandline.HL_NORMAL, commandline.FORCE_MULTILINE);
|
||||
template.listCompleter("buffer", filter);
|
||||
},
|
||||
|
||||
// wrap causes the movement to wrap around the start and end of the tab list
|
||||
|
||||
Reference in New Issue
Block a user