Skip to content

Commit 2341aa2

Browse files
arichiardibbatsov
authored andcommitted
Support lumo's source
1 parent ebd1494 commit 2341aa2

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

inf-clojure.el

+7
Original file line numberDiff line numberDiff line change
@@ -648,12 +648,19 @@ If you are using REPL types, it will pickup the most approapriate
648648
:type 'string
649649
:package-version '(inf-clojure . "2.0.0"))
650650

651+
(defcustom inf-clojure-var-source-form-lumo
652+
"(lumo.repl/source %s)"
653+
"Lumo form to query inferior Clojure for a var's source."
654+
:type 'string
655+
:package-version '(inf-clojure . "2.0.0"))
656+
651657
(defun inf-clojure-var-source-form ()
652658
"Return the form to query inferior Clojure for a var's source.
653659
If you are using REPL types, it will pickup the most approapriate
654660
`inf-clojure-var-source-form` variant."
655661
(inf-clojure--sanitize-command
656662
(pcase (inf-clojure--set-repl-type (inf-clojure-proc))
663+
(`lumo inf-clojure-var-source-form-lumo)
657664
(`planck inf-clojure-var-source-form-planck)
658665
(_ inf-clojure-var-source-form))))
659666

0 commit comments

Comments
 (0)