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

improved :viewsource, thanks Juergen

This commit is contained in:
Martin Stubenschrott
2008-10-23 11:29:16 +00:00
parent beb8c6a744
commit 0c8dc35413
2 changed files with 4 additions and 2 deletions

View File

@@ -13,6 +13,7 @@ Inactive/former developers:
* Marco Candrian (mac@calmar.ws) * Marco Candrian (mac@calmar.ws)
Patches (in no special order): Patches (in no special order):
* Juergen Descher
* Kazuo (count support for ctrl-^) * Kazuo (count support for ctrl-^)
* Daniel Schaffrath (;b support) * Daniel Schaffrath (;b support)
* Dominik Meister (:b# support and other buffer related commands) * Dominik Meister (:b# support and other buffer related commands)

View File

@@ -942,8 +942,9 @@ function Buffer() //{{{
"View source code of current document", "View source code of current document",
function (args, special) { buffer.viewSource(args.arguments[0], special); }, function (args, special) { buffer.viewSource(args.arguments[0], special); },
{ {
argCount: "1", argCount: "?",
bang: true bang: true,
completer: function (filter) completion.url(filter, "bhf")
}); });
commands.add(["zo[om]"], commands.add(["zo[om]"],