1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-09 06:14:11 +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> <p>
Example: Example:
<code><ex>:command foo -nargs=<str>?</str> -complete custom, <code><ex>:command foo -nargs=? -complete custom,<str delim="'">
\ <str delim="'">function (context) context.completions = [["arg1", "description1"], ["arg2", "description2"]]</str> \ function (context) context.completions = [["arg1", "description1"], ["arg2", "description2"]]</str>
\ <ex>:echo</ex> <str>Useless </str> + <em>&lt;q-args></em></ex> \ <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> \ -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> \ <ex>:echo</ex> <str>Same as above but simpler </str> + <em>&lt;q-args></em></ex></code>
</p> </p>