Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Next release #11

Merged
merged 11 commits into from
Dec 14, 2024
3 changes: 3 additions & 0 deletions src/elin/constant/nrepl.clj
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
(ns elin.constant.nrepl)

(def lang-clojure "clojure")
(def lang-clojurescript "clojurescript")

(def array-key-set
#{"status" "sessions" "classpath"
;; cider-nrepl complete op
5 changes: 4 additions & 1 deletion src/elin/schema/nrepl.clj
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
(ns elin.schema.nrepl
(:require
[elin.constant.nrepl :as e.c.nrepl]
[elin.schema :as e.schema]
[malli.util :as m.util])
(:import
@@ -33,7 +34,9 @@
[:initial-namespace [:maybe string?]]
[:version [:map-of keyword? any?]]
[:port-file [:maybe string?]]
[:language [:maybe [:enum "clojure" "clojurescript"]]]])
[:language [:maybe [:enum
e.c.nrepl/lang-clojure
e.c.nrepl/lang-clojurescript]]]])

(def ?Manager
[:map-of int? [:map