Skip to content

Commit db38bb6

Browse files
committed
[Fix #675] Document a missing debug-input param
1 parent a8fd4f9 commit db38bb6

File tree

2 files changed

+42
-5
lines changed

2 files changed

+42
-5
lines changed

doc/modules/ROOT/pages/nrepl-api/ops.adoc

Lines changed: 40 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ This file is _generated_ by #'cider.nrepl.impl.docs/-main
44
////
55
= Supported nREPL operations
66
7-
[small]#generated from a verbose 'describe' response (cider-nrepl v0.25.3)#
7+
[small]#generated from a verbose 'describe' response (cider-nrepl v0.26.0)#
88

99
== Operations
1010

@@ -80,6 +80,9 @@ Required parameters::
8080
* `:sym` The symbol to lookup.
8181

8282

83+
Optional parameters::
84+
{blank}
85+
8386
Returns::
8487
* `:clojuredocs` A map of information in ClojureDocs.
8588
* `:status` "no-doc" if there is no document matching to ``ns`` and ``symbol``.
@@ -174,6 +177,7 @@ Read client input on debug action.
174177

175178
Required parameters::
176179
* `:input` The user's reply to the input request.
180+
* `:key` The corresponding input request key.
177181

178182

179183
Optional parameters::
@@ -508,6 +512,40 @@ Returns::
508512

509513

510514

515+
=== `inspect-set-max-atom-length`
516+
517+
Set the max length of nested atoms to specified value.
518+
519+
Required parameters::
520+
* `:max-atom-length` New max length.
521+
* `:session` The current session
522+
523+
524+
Optional parameters::
525+
{blank}
526+
527+
Returns::
528+
* `:status` "done"
529+
530+
531+
532+
=== `inspect-set-max-coll-size`
533+
534+
Set the number of nested collection members to display before truncating.
535+
536+
Required parameters::
537+
* `:max-coll-size` New collection size.
538+
* `:session` The current session
539+
540+
541+
Optional parameters::
542+
{blank}
543+
544+
Returns::
545+
* `:status` "done"
546+
547+
548+
511549
=== `inspect-set-page-size`
512550

513551
Sets the page size in paginated view to specified value.
@@ -831,9 +869,7 @@ Required parameters::
831869
{blank}
832870

833871
Optional parameters::
834-
* `:context` Completion context for compliment.
835-
* `:prefix` Prefix to filter out resources.
836-
872+
{blank}
837873

838874
Returns::
839875
* `:resources-list` The list of resources.

src/cider/nrepl.clj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,8 @@
164164
:requires #{#'wrap-print #'session}
165165
:handles {"debug-input"
166166
{:doc "Read client input on debug action."
167-
:requires {"input" "The user's reply to the input request."}
167+
:requires {"input" "The user's reply to the input request."
168+
"key" "The corresponding input request key."}
168169
:returns {"status" "done"}}
169170
"init-debugger"
170171
{:doc "Initialize the debugger so that `breakpoint` works correctly. This usually does not respond immediately. It sends a response when a breakpoint is reached or when the message is discarded."

0 commit comments

Comments
 (0)