Skip to content

Commit b536ddb

Browse files
committed
Add back cider-inspector-pretty-print defcustom
1 parent bb1ea6e commit b536ddb

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

cider-inspector.el

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,11 @@ The max depth can be also changed interactively within the inspector."
7878
:type 'boolean
7979
:package-version '(cider . "0.15.0"))
8080

81+
(defcustom cider-inspector-pretty-print nil
82+
"When true, pretty print values in the inspector."
83+
:type 'boolean
84+
:package-version '(cider . "1.18.0"))
85+
8186
(defcustom cider-inspector-skip-uninteresting t
8287
"Controls whether to skip over uninteresting values in the inspector.
8388
Only applies to navigation with `cider-inspector-prev-inspectable-object'
@@ -518,7 +523,9 @@ MAX-COLL-SIZE if non nil."
518523
,@(when cider-inspector-max-nested-depth
519524
`("max-nested-depth" ,cider-inspector-max-nested-depth))
520525
,@(when cider-inspector-display-analytics-hint
521-
`("display-analytics-hint" "true"))))
526+
`("display-analytics-hint" "true"))
527+
,@(when cider-inspector-pretty-print
528+
`("pretty-print" "true"))))
522529
(cider-nrepl-send-sync-request (cider-current-repl))))
523530

524531
(declare-function cider-set-buffer-ns "cider-mode")

0 commit comments

Comments
 (0)