From 1c9f74b82d28d102e326bed14c51fb44ca221536 Mon Sep 17 00:00:00 2001 From: Martin Stubenschrott Date: Sun, 8 Jun 2008 04:33:02 +0000 Subject: [PATCH] added completion to :time --- content/liberator.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/content/liberator.js b/content/liberator.js index 212e8a4f..24e76868 100644 --- a/content/liberator.js +++ b/content/liberator.js @@ -350,6 +350,15 @@ const liberator = (function () //{{{ { 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]"],