Add :completions command.

This commit is contained in:
Kris Maglione committed 2011-02-03 05:34:50 -05:00
1 parent f84396f5e6
commit 346cf2531a
3 files changed
+21

No files matched your search

+9
View File
@@ -1447,6 +1447,15 @@ var Commands = Module("commands", {
},
{ argCount: "0" });
commands.add(["comp[letions]"],
"List the completion results for a given command substring",
function (args) { completion.listCompleter("ex", args[0]); },
{
argCount: "1",
completer: function (context, args) completion.ex(context),
literal: 0
});
commands.add(["delc[ommand]"],
"Delete the specified user-defined command",
function (args) {