Skip to content

Commit 3a93815

Browse files
slipsetbbatsov
authored andcommitted
[Fix #105] Add planck-specific function for show-arglist (#106)
1 parent 42f860f commit 3a93815

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

inf-clojure.el

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -753,13 +753,21 @@ If you are using REPL types, it will pickup the most approapriate
753753
:safe #'stringp
754754
:package-version '(inf-clojure . "2.0.0"))
755755

756+
(defcustom inf-clojure-arglists-form-planck
757+
"(planck.repl/get-arglists \"%s\""
758+
"Planck form to query inferior Clojure for a function's arglists."
759+
:type 'string
760+
:safe #'stringp
761+
:package-version '(inf-clojure . "2.1.0"))
762+
756763
(defun inf-clojure-arglists-form ()
757764
"Return the form to query inferior Clojure for arglists of a var.
758765
If you are using REPL types, it will pickup the most approapriate
759766
`inf-clojure-arglists-form` variant."
760767
(inf-clojure--sanitize-command
761768
(pcase (inf-clojure--set-repl-type (inf-clojure-proc))
762769
(`lumo inf-clojure-arglists-form-lumo)
770+
(`planck inf-clojure-arglists-form-planck)
763771
(_ inf-clojure-arglists-form))))
764772

765773
(defcustom inf-clojure-completion-form

0 commit comments

Comments
 (0)