File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -481,6 +481,11 @@ In case `default-directory' is non-local we assume the command is available."
481
481
(catch Throwable _ \" not installed\" ))"
482
482
(cider--check-middleware-compatibility-callback (current-buffer ))))
483
483
484
+ (defun cider--subscribe-repl-to-server-out ()
485
+ " Subscribe to the server's *out*."
486
+ (cider-nrepl-send-request '(" op" " out-subscribe" )
487
+ (cider-interactive-eval-handler (current-buffer ))))
488
+
484
489
(defun cider--connected-handler ()
485
490
" Handle cider initialization after nREPL connection has been established.
486
491
This function is appended to `nrepl-connected-hook' in the client process
@@ -492,6 +497,7 @@ buffer."
492
497
(cider--check-required-nrepl-ops)
493
498
(cider--check-middleware-compatibility)
494
499
(cider--debug-init-connection)
500
+ (cider--subscribe-repl-to-server-out)
495
501
(when cider-auto-mode
496
502
(cider-enable-on-existing-clojure-buffers))
497
503
(run-hooks 'cider-connected-hook ))
You can’t perform that action at this time.
0 commit comments