Tools for defining sources for the completion.
Tools for defining sources for the completion.
(all-sources)
(all-sources source-kws)
Returns the list of all completion sources, or the selected once specified by
source-kws
.
Returns the list of all completion sources, or the selected once specified by `source-kws`.
(defsource name & {:as kw-args})
Defines a source with the given name and argument map. Map must
contain two keys - :candidates
and :doc
.
Value of :candidates
should be a function of prefix, namespace and
context.
Value of :doc
latter should be a function of symbol name and
namespace.
Defines a source with the given name and argument map. Map must contain two keys - `:candidates` and `:doc`. Value of `:candidates`should be a function of prefix, namespace and context. Value of `:doc` latter should be a function of symbol name and namespace.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close