Skip to content

Commit 23540fd

Browse files
Add scittle to runtime versions (#3600)
1 parent 9edb2d2 commit 23540fd

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,12 @@
1717
- Updates [Orchard](https://github.com/clojure-emacs/orchard/blob/v0.23.0/CHANGELOG.md#0230-2024-03-03).
1818
- Updates [Logjam](https://github.com/clojure-emacs/logjam/blob/v0.3.0/CHANGELOG.md#030-2024-03-03).
1919

20+
21+
### Bugs fixed
22+
23+
- [#3600](https://github.com/clojure-emacs/cider/pull/3600): Fix scittle jack in when using `cider-jack-in-clj`.
24+
25+
2026
## 1.13.1 (2024-02-01)
2127

2228
### Bugs fixed

cider-connection.el

+8
Original file line numberDiff line numberDiff line change
@@ -347,6 +347,7 @@ See `cider-connection-capabilities'."
347347
('clojure '(clojure jvm-compilation-errors))
348348
('babashka '(babashka jvm-compilation-errors))
349349
('nbb '(cljs))
350+
('scittle '(cljs))
350351
(_ '()))
351352
(when
352353
(eq cider-repl-type 'cljs)
@@ -457,12 +458,19 @@ But helps us know if this is a nbb repl, or not."
457458
(when nrepl-versions
458459
(nrepl-dict-get nrepl-versions "nbb-nrepl"))))
459460

461+
(defun cider--scittle-nrepl-version ()
462+
"Retrieve the underlying connection's scittle version."
463+
(with-current-buffer (cider-current-repl)
464+
(when nrepl-versions
465+
(nrepl-dict-get nrepl-versions "scittle-nrepl"))))
466+
460467
(defun cider-runtime ()
461468
"Return the runtime of the nREPl server."
462469
(cond
463470
((cider--clojure-version) 'clojure)
464471
((cider--babashka-version) 'babashka)
465472
((cider--nbb-nrepl-version) 'nbb)
473+
((cider--scittle-nrepl-version) 'scittle)
466474
(t 'generic)))
467475

468476
(defun cider-runtime-clojure-p ()

0 commit comments

Comments
 (0)