1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-22 21:15:45 +01:00

add "?" as the argCount to commands with an optional single arg

This commit is contained in:
Doug Kearns
2008-12-01 11:45:25 +00:00
parent a4361e49f8
commit ead1babb4d
6 changed files with 15 additions and 4 deletions

View File

@@ -367,6 +367,7 @@ function IO() //{{{
autocommands.trigger("ShellCmdPost", {});
},
{
argCount: "?", // TODO: "1" - probably not worth supporting weird Vim edge cases. The dream is dead. --djk
bang: true,
completer: function (context) completion.shellCommand(context),
literal: 0