1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-05 07:44:14 +01:00

Fix the example broken by the previous fix and remove unnecessary quoting.

This commit is contained in:
Štěpán Němec
2011-01-20 01:51:18 +01:00
parent 982d07af55
commit 657af0e223

View File

@@ -642,11 +642,11 @@
<p>
Example:
<code><ex>:command foo -nargs=<str>?</str> -complete custom,
\ <str delim="'">function (context) context.completions = [["arg1", "description1"], ["arg2", "description2"]]</str>
<code><ex>:command foo -nargs=? -complete custom,<str delim="'">
\ function (context) context.completions = [["arg1", "description1"], ["arg2", "description2"]]</str>
\ <ex>:echo</ex> <str>Useless </str> + <em>&lt;q-args></em></ex>
<ex>:command foo -nargs=<str>?</str>
<ex>:command foo -nargs=?
\ -complete custom,<str delim="'">[["arg1", "description1"], ["arg2, "description2"]]</str>
\ <ex>:echo</ex> <str>Same as above but simpler </str> + <em>&lt;q-args></em></ex></code>
</p>