Skip to content
Snippets Groups Projects
Commit 41e3936e authored by Marijn Haverbeke's avatar Marijn Haverbeke
Browse files

[show-hint addon] Clarify passing options in the manual

Issue #4697
parent 4271ba59
No related branches found
No related tags found
No related merge requests found
...@@ -2603,9 +2603,12 @@ editor.setOption("extraKeys", { ...@@ -2603,9 +2603,12 @@ editor.setOption("extraKeys", {
of the global one passed with the full list of completions.</dd> of the global one passed with the full list of completions.</dd>
</dl></dd> </dl></dd>
<dd>The plugin understands the following options (the options object <dd>The plugin understands the following options, which may be
will also be passed along to the hinting function, which may either passed directly in the argument to <code>showHint</code>,
understand additional options): or provided by setting an <code>hintOptions</code> editor
option to an object (the former takes precedence). The options
object will also be passed along to the hinting function, which
may understand additional options.
<dl> <dl>
<dt><code><strong>hint</strong>: function</code></dt> <dt><code><strong>hint</strong>: function</code></dt>
<dd>A hinting function, as specified above. It is possible to <dd>A hinting function, as specified above. It is possible to
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment