Skip to content

Commit c8ecf68

Browse files
committed
Try to appease cljfmt
1 parent d0c7c8c commit c8ecf68

File tree

1 file changed

+13
-8
lines changed

1 file changed

+13
-8
lines changed

src/cider/nrepl.clj

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@
1717
[nrepl.server :as nrepl-server]))
1818

1919

20-
;;;; Functionality for deferred middleware loading
21-
;;;
22-
;;; cider-nrepl depends on many libraries and loading all middleware at
23-
;;; startup time causes significant delays. That's why we've developed
24-
;;; a simple approach to delay loading the actual definition of a middleware
25-
;;; until a request handled by this middleware is made.
20+
;;; Functionality for deferred middleware loading
21+
;;
22+
;; cider-nrepl depends on many libraries and loading all middleware at
23+
;; startup time causes significant delays. That's why we've developed
24+
;; a simple approach to delay loading the actual definition of a middleware
25+
;; until a request handled by this middleware is made.
2626

2727
(def delayed-handlers
2828
"Map of `delay`s holding deferred middleware handlers."
@@ -87,7 +87,7 @@
8787
(~'h ~'msg))))
8888
(set-descriptor! #'~name ~descriptor))))
8989

90-
;;;; Deferred Middleware Wrappers
90+
;;; Deferred Middleware Wrappers
9191
;;
9292
;; Each middleware is defined in its own namespace, but here we're defining
9393
;; deferred versions of the middleware handlers, that load the actual middleware
@@ -518,7 +518,12 @@
518518
:returns {"clojuredocs" "A map of information in ClojureDocs."
519519
"status" "\"no-doc\" if there is no document matching to `ns` and `symbol`."}}}})
520520

521-
;;;; CIDER's nREPL Handler
521+
;;; CIDER's nREPL Handler
522+
;;
523+
;; Here everything comes together. We define an nREPL handler
524+
;; that includes all of CIDER's middleware. Note that
525+
;; end users might opt to build custom handlers that don't
526+
;; include every middleware available.
522527

523528
(def cider-middleware
524529
"A vector of all CIDER middleware."

0 commit comments

Comments
 (0)