Hi all, just starting to mess with inf-clojure. The default
inf-clojure-completion-form value is
(complete.core/completions "%s") but this doesn't work for me until the library is
require'ed. Is this expect? When I require it from the repl it works. What's the normal mechanism for requiring things like this?
But this isn't working, I beleive because the
(add-hook 'inf-clojure-mode-hook '(lambda () (inf-clojure--send-string (inf-clojure-proc) "(require 'complete.core)")))
inf-clojure-procisn't ready yet
Or is this something my clojure repl process should be handling (ie by eval'ing the require inside the clj repl when it starts)
One more thing, for the
inf-clojure-arglists-form, the default is
But this doesn't work for me unless i remove the escapes on the quotes. Changing
(try (:arglists (clojure.core/meta (clojure.core/resolve (clojure.core/read-string \"%s\")))) (catch #?(:clj Throwable :cljr Exception) e nil))
"%s"fixes it for me. I'm in windows, which could be related. Is this worth opening an issue for?
I see the readme update above answers my first question 🙂