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 & {:keys [candidates doc] :as kw-args})
Define a source with the given name and completion functions:
:candidates
- a function of prefix, namespace and context;
:doc
- a function of symbol name and namespace.
Define a source with the given name and completion functions: `:candidates` - a function of prefix, namespace and context; `:doc` - a function of symbol name and namespace.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close