1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-23 10:18:00 +01:00

added completion to :time

This commit is contained in:
Martin Stubenschrott
2008-06-08 04:33:02 +00:00
parent 59342d4244
commit 1c9f74b82d

View File

@@ -350,6 +350,15 @@ const liberator = (function () //{{{
{ {
liberator.echoerr(e); liberator.echoerr(e);
} }
},
{
completer: function (filter)
{
if (/^:/.test(filter))
return liberator.completion.exTabCompletion(filter);
else
return liberator.completion.javascript(filter);
}
}); });
liberator.commands.add(["ve[rsion]"], liberator.commands.add(["ve[rsion]"],