Skip to content

Commit b4e9bdb

Browse files
committed
Add scittle to runtime versions
1 parent 25c51fd commit b4e9bdb

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
- [#3588](https://github.com/clojure-emacs/cider/issues/3588): Compatibility with pwsh 7.3 quoting rules.
88
- Bump the injected `enrich-classpath` to [1.19.0](https://github.com/clojure-emacs/enrich-classpath/compare/v1.18.6...v1.19.0).
99
- Bump the `parseedn` required version to 1.2.1.
10+
- Fix scittle jack in when using `cider-jack-in-clj` ()
1011

1112
## 1.12.0 (2023-11-24)
1213

cider-connection.el

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -346,6 +346,7 @@ See `cider-connection-capabilities'."
346346
('clojure '(clojure jvm-compilation-errors))
347347
('babashka '(babashka jvm-compilation-errors))
348348
('nbb '(cljs))
349+
('scittle '(cljs))
349350
(_ '()))
350351
(when
351352
(eq cider-repl-type 'cljs)
@@ -456,12 +457,19 @@ But helps us know if this is a nbb repl, or not."
456457
(when nrepl-versions
457458
(nrepl-dict-get nrepl-versions "nbb-nrepl"))))
458459

460+
(defun cider--scittle-nrepl-version ()
461+
"Likewise for scittle. See `cider--nbb-nrepl-version'."
462+
(with-current-buffer (cider-current-repl)
463+
(when nrepl-versions
464+
(nrepl-dict-get nrepl-versions "scittle-nrepl"))))
465+
459466
(defun cider-runtime ()
460467
"Return the runtime of the nREPl server."
461468
(cond
462469
((cider--clojure-version) 'clojure)
463470
((cider--babashka-version) 'babashka)
464471
((cider--nbb-nrepl-version) 'nbb)
472+
((cider--scittle-nrepl-version) 'scittle)
465473
(t 'generic)))
466474

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

0 commit comments

Comments
 (0)