From dbbb3ef2d21cf8ec886075fb5de12bde8f464b76 Mon Sep 17 00:00:00 2001 From: Michiel Borkent Date: Mon, 28 Oct 2024 10:27:17 +0100 Subject: [PATCH] nREPL readme --- doc/nrepl/README.md | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/doc/nrepl/README.md b/doc/nrepl/README.md index ce2cac9..85ffee1 100644 --- a/doc/nrepl/README.md +++ b/doc/nrepl/README.md @@ -44,18 +44,6 @@ refreshes. ### CIDER -Currently when connecting from CIDER, you need to use this snippet: - -``` elisp -(cider-register-cljs-repl-type 'sci-js "(+ 1 2 3)") - -(defun mm/cider-connected-hook () - (when (eq 'sci-js cider-cljs-repl-type) - (setq-local cider-show-error-buffer nil) - (cider-set-repl-type 'cljs))) - -(add-hook 'cider-connected-hook #'mm/cider-connected-hook) -``` - -Then choose `cider-connect-cljs`, select port `1339`, followed by the `sci-js` -REPL type. +Choose `cider-connect-cljs`, select port `1339`, followed by the `nbb` REPL +type. If you use multiple REPLs in your project, choose +`sesman-link-with-buffer` to choose the right REPL for the right buffer.