You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+17
Original file line number
Diff line number
Diff line change
@@ -44,6 +44,23 @@ Add the following in `~/.boot/profile.boot`:
44
44
'refactor-nrepl.middleware/wrap-refactor)
45
45
```
46
46
47
+
### Embedded nREPL
48
+
49
+
You may want launch your own nREPL server with CIDER and refactor-nrepl in it. You'll be able to [`cider-connect`](https://github.com/clojure-emacs/cider/blob/6a17686799b7ef97bc15fa041016421e5c875bfb/cider.el#L1150) to said server.
50
+
51
+
For that, you can use the following (more info can be found in the [nREPL Server docs](https://nrepl.org/nrepl/usage/server.html#embedding-nrepl) and [CIDER docs](https://docs.cider.mx/cider/basics/middleware_setup.html#using-embedded-nrepl-server)):
52
+
53
+
```clojure
54
+
(defcustom-nrepl-handler
55
+
"We build our own custom nrepl handler, mimicking CIDER's."
0 commit comments