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:
@@ -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><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><q-args></em></ex></code>
|
||||
</p>
|
||||
|
||||
Reference in New Issue
Block a user