From d646751ea4ddc3ba3d4dbf23c402e1ec35a3b806 Mon Sep 17 00:00:00 2001 From: Chris McCormick Date: Thu, 31 Jul 2025 11:42:05 +0800 Subject: [PATCH] Notes for using ClojureScript REPLs. --- README.markdown | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.markdown b/README.markdown index 438aff3..82e3e59 100644 --- a/README.markdown +++ b/README.markdown @@ -19,6 +19,14 @@ package support: You might also want [salve.vim][] for assorted static project support. +## ClojureScript + +When editing a `.cljs` file Fireplace needs a default ClojureScript REPL before +it can `:EvalCljs` or send forms. Enable it as follows: + +- shadow-cljs: `:CljEval (shadow/repl :app)` where :app is the cljs build ID. +- nbb: `:CljEval (ns cljs.user)` since it's already a cljs REPL by default. + ## Features This list isn't exhaustive; see the `:help` for details.