summaryrefslogtreecommitdiff
path: root/cider-ns.el
diff options
context:
space:
mode:
authorMichael Griffiths <mikey@cich.li>2019-02-04 20:33:15 +0000
committerSean Whitton <spwhitton@spwhitton.name>2019-03-15 15:54:19 -0700
commit2f3122fa05e65823d8db2d304b64995d25f60791 (patch)
tree65979ce0da2c1e311d934b74ef9764f3d9d8ca98 /cider-ns.el
parent4c02120a6571ed898f352650fa36d68cf1b1c0ce (diff)
Update to nrepl 0.6.0 / cider-nrepl 0.21.0
(cherry picked from commit a48af155d8acf64e7c3025146027ef2d62f1cc2e)
Diffstat (limited to 'cider-ns.el')
-rw-r--r--cider-ns.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/cider-ns.el b/cider-ns.el
index e89ed07b..b27fdeca 100644
--- a/cider-ns.el
+++ b/cider-ns.el
@@ -249,7 +249,9 @@ refresh functions (defined in `cider-ns-refresh-before-fn' and
"print-length" ,cider-stacktrace-print-length
"print-level" ,cider-stacktrace-print-level)
(when (cider--pprint-fn)
- `("pprint-fn" ,(cider--pprint-fn)))
+ `("nrepl.middleware.print/print" ,(cider--pprint-fn)))
+ (when cider-stacktrace-print-options
+ `("nrepl.middleware.print/options" ,cider-stacktrace-print-options))
(when (and (not inhibit-refresh-fns) cider-ns-refresh-before-fn)
`("before" ,cider-ns-refresh-before-fn))
(when (and (not inhibit-refresh-fns) cider-ns-refresh-after-fn)