Skip to content

Commit f3c1de4

Browse files
committed
Replace mentions of clojure-complete with incomplete
1 parent 64c9af8 commit f3c1de4

File tree

1 file changed

+9
-12
lines changed

1 file changed

+9
-12
lines changed

README.md

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -385,13 +385,13 @@ Code completion is a tricky aspect if you are trying to be as close to
385385
a generic REPL as possible. Planck and lumo REPL implementations
386386
explicitly provide completion functions in their REPL namespaces. For
387387
clojure, you will need to have a library on your classpath. If you are
388-
using lein, you already have
389-
[clojure-complete](https://github.com/ninjudd/clojure-complete). You
388+
using a recent version of Leiningen, you already have
389+
[incomplete](https://github.com/nrepl/incomplete). You
390390
could alternatively use `compliment {:mvn/version "0.3.10"}`.
391391

392392
```emacs-lisp
393-
;; for clojure-complete
394-
(inf-clojure-update-feature 'clojure 'completion "(complete.core/completions \"%s\")")
393+
;; for incomplete
394+
(inf-clojure-update-feature 'clojure 'completion "(incomplete.core/completions \"%s\")")
395395
396396
;; or
397397
;; for compliment
@@ -401,17 +401,14 @@ could alternatively use `compliment {:mvn/version "0.3.10"}`.
401401

402402
If you give a form for the completion form, it is your responsibility
403403
to ensure that this namespace is on the classpath and required. If
404-
using lein, this is done for you with clojure-complete. If adding
405-
compliment, the following sample deps.edn can conveniently add the dep
406-
to your program.
407-
408-
Sample deps.edn:
404+
using Leiningen, this is done for you with `incomplete`. If adding
405+
`compliment`, the following sample `deps.edn` can conveniently add the dep
406+
to your program:
409407

410408
```clojure
411409
{:aliases {:compliment {:extra-deps {compliment {:mvn/version "0.3.10"}}}}}
412410
```
413411

414-
415412
Use the startup command: `clojure -A:compliment`. Then require the ns
416413
once so that the completion machinery will work: `(require
417414
'compliment.core)`. Now tab completion should work.
@@ -422,7 +419,7 @@ to customization. Not only you can `setq` the customary
422419
`inf-clojure-completion-form-planck` and
423420
`inf-clojure-completion-form-joker` - the form to send to the REPL -
424421
but you can also use `inf-clojure-completions-fn` for specifying a
425-
function that given the REPL response should return elisp data
422+
function that given the REPL response should return Elisp data
426423
compatible with
427424
[`completion-at-point-functions`](https://www.gnu.org/software/emacs/manual/html_node/elisp/Completion-in-Buffers.html).
428425
For more info run `M-x describe-variable RET
@@ -434,7 +431,7 @@ it](https://github.com/clojure-emacs/cider/blob/3e9ed12e8cfbad04d7618e649322765d
434431

435432
For an optimal Lumo experience the `-d` needs to be passed to Lumo
436433
when launched from the command line. This disable `readline` support
437-
in order to play nicely with emacs.
434+
in order to play nicely with Emacs.
438435

439436
## Troubleshooting
440437

0 commit comments

Comments
 (0)