File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -305,17 +305,19 @@ buffer."
305
305
(cider-nrepl-op-supported-p " out-subscribe" ))
306
306
(cider--subscribe-repl-to-server-out))
307
307
308
- (when cider-auto-mode
309
- (cider-enable-on-existing-clojure-buffers))
310
-
311
308
; ; Middleware on cider-nrepl's side is deferred until first usage, but
312
309
; ; loading middleware concurrently can lead to occasional "require" issues
313
310
; ; (likely a Clojure bug). Thus, we load the heavy debug middleware towards
314
311
; ; the end, allowing for the faster "server-out" middleware to load
315
312
; ; first.
316
313
(cider--debug-init-connection))
314
+
317
315
(when cider-repl-init-function
318
316
(funcall cider-repl-init-function))
317
+
318
+ (when cider-auto-mode
319
+ (cider-enable-on-existing-clojure-buffers))
320
+
319
321
(run-hooks 'cider-connected-hook )))))
320
322
321
323
(defun cider--disconnected-handler ()
You can’t perform that action at this time.
0 commit comments