We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c132951 commit b119912Copy full SHA for b119912
cider.el
@@ -780,7 +780,12 @@ Generally you should not disable this unless you run into some faulty check."
780
781
(defun cider-clojurescript-present-p ()
782
"Return non nil when ClojureScript is present."
783
- (nrepl-dict-get (cider-sync-tooling-eval "cljs.core/demunge") "value"))
+ (or
784
+ ;; This is nil for example for nbb.
785
+ (cider-library-present-p "cljs.core")
786
+ ;; demunge is not defined currently for normal cljs repls.
787
+ ;; So we end up making the two checks
788
+ (nrepl-dict-get (cider-sync-tooling-eval "cljs.core/demunge") "value")))
789
790
(defun cider-verify-clojurescript-is-present ()
791
"Check whether ClojureScript is present."
0 commit comments