mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-08 04:34:13 +01:00
Minor documentation updates.
This commit is contained in:
@@ -1813,7 +1813,7 @@ var Dactyl = Module("dactyl", XPCOM(Ci.nsISupportsWeakReference, ModuleBase), {
|
|||||||
});
|
});
|
||||||
|
|
||||||
commands.add(["loadplugins", "lpl"],
|
commands.add(["loadplugins", "lpl"],
|
||||||
"Load all plugins immediately",
|
"Load all or matching plugins",
|
||||||
function (args) {
|
function (args) {
|
||||||
dactyl.loadPlugins(args.length ? args : null, args.bang);
|
dactyl.loadPlugins(args.length ? args : null, args.bang);
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -639,7 +639,7 @@
|
|||||||
|
|
||||||
<p>
|
<p>
|
||||||
<em>completions</em> is a two-dimensional array of the form:
|
<em>completions</em> is a two-dimensional array of the form:
|
||||||
<tt>[[arg1, description1], [arg2, description2], …]</tt>
|
<tt>[[val1, description1], [val2, description2], …]</tt>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
@@ -650,11 +650,11 @@
|
|||||||
<p>
|
<p>
|
||||||
Example:
|
Example:
|
||||||
<code><ex>:command foo -nargs=? -complete custom,<str delim="'">
|
<code><ex>:command foo -nargs=? -complete custom,<str delim="'">
|
||||||
\ function (context) context.completions = [["arg1", "description1"], ["arg2", "description2"]]</str>
|
\ function (context) context.completions = [["val1", "description1"], ["val2", "description2"]]</str>
|
||||||
\ <ex>:echo</ex> <str>Useless </str> + <em><q-args></em></ex>
|
\ <ex>:echo</ex> <str>Useless </str> + <em><q-args></em></ex>
|
||||||
|
|
||||||
<ex>:command foo -nargs=?
|
<ex>:command foo -nargs=?
|
||||||
\ -complete custom,<str delim="'">[["arg1", "description1"], ["arg2, "description2"]]</str>
|
\ -complete custom,<str delim="'">[["val1", "description1"], ["val2", "description2"]]</str>
|
||||||
\ <ex>:echo</ex> <str>Same as above but simpler </str> + <em><q-args></em></ex></code>
|
\ <ex>:echo</ex> <str>Same as above but simpler </str> + <em><q-args></em></ex></code>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
|||||||
@@ -984,7 +984,6 @@
|
|||||||
</item>
|
</item>
|
||||||
|
|
||||||
<item>
|
<item>
|
||||||
<tags>'nolpl' 'noloadplugins'</tags>
|
|
||||||
<tags>'lpl' 'loadplugins'</tags>
|
<tags>'lpl' 'loadplugins'</tags>
|
||||||
<spec>'loadplugins' 'lpl'</spec>
|
<spec>'loadplugins' 'lpl'</spec>
|
||||||
<type>&option.loadplugins.type;</type>
|
<type>&option.loadplugins.type;</type>
|
||||||
|
|||||||
@@ -794,7 +794,7 @@ unlet s:cpo_save
|
|||||||
{ argCount: "0" });
|
{ argCount: "0" });
|
||||||
|
|
||||||
commands.add(["so[urce]"],
|
commands.add(["so[urce]"],
|
||||||
"Read Ex commands from a file",
|
"Read Ex commands, JavaScript or CSS from a file",
|
||||||
function (args) {
|
function (args) {
|
||||||
if (args.length > 1)
|
if (args.length > 1)
|
||||||
dactyl.echoerr(_("io.oneFileAllowed"));
|
dactyl.echoerr(_("io.oneFileAllowed"));
|
||||||
|
|||||||
@@ -185,6 +185,7 @@
|
|||||||
- Added 'banghist' option. [b1]
|
- Added 'banghist' option. [b1]
|
||||||
- Added 'downloadsort' option. [b7]
|
- Added 'downloadsort' option. [b7]
|
||||||
- Replaced 'focuscontent' with 'strictfocus'. [b1]
|
- Replaced 'focuscontent' with 'strictfocus'. [b1]
|
||||||
|
- Made 'strictfocus' a [sitemap]. [b7]
|
||||||
- 'complete' now defaults to "slf" but file completion only
|
- 'complete' now defaults to "slf" but file completion only
|
||||||
triggers when the URL begins as above. [b1]
|
triggers when the URL begins as above. [b1]
|
||||||
- Added 's' flag to 'pageinfo' and changed default value. [b7]
|
- Added 's' flag to 'pageinfo' and changed default value. [b7]
|
||||||
|
|||||||
Reference in New Issue
Block a user