@@ -41,9 +41,12 @@ CIDER defines a specialized completion category through the `cider-complete-at-p
4141added to `completion-at-point-functions`, establishing a dedicated completion category named
4242`cider`.
4343
44- The CIDER completion at point function supports most completion styles, including
45- `partial-completion`, `orderless` and `flex` (read more below).
46-
44+ The CIDER completion at point function supports most completion styles,
45+ including `partial-completion`, `orderless` and `flex`. It also supports a
46+ custom completion style that is confusingly named `cider` too. Activating it
47+ provides a richer set of completion candidates (see
48+ xref:usage/code_completion.adoc#fuzzy-candidate-matching[fuzzy candidate
49+ matching]).
4750
4851Sometimes the user may want to use a different completion style just for the CIDER
4952complete at point function. That can be achieved by setting
@@ -58,8 +61,6 @@ complete at point function. The following snippet accomplishes that:
5861This specifies that the `cider` completion category should employ the basic completion style by
5962default.
6063
61- You can also enable the `flex` completion style by activating xref:usage/code_completion.adoc#fuzzy-candidate-matching[fuzzy candidate matching].
62-
6364== Auto-completion
6465
6566While the standard Emacs tooling works just fine, we suggest that
@@ -146,15 +147,15 @@ emacs22)` since Emacs 23. For a better description of how those
146147completion styles operates, refer to the official Emacs manual on
147148https://www.gnu.org/software/emacs/manual/html_node/emacs/Completion-Styles.html[how completion alternatives are chosen].
148149
149- CIDER provides a function to enable the `flex ` completion style for CIDER-specific
150+ CIDER provides a function to enable the `cider ` completion style for CIDER-specific
150151completions. If you wish to enable that, you can add this to your config:
151152
152153[source,lisp]
153154----
154- (cider-enable-flex -completion)
155+ (cider-enable-cider -completion-style )
155156----
156157
157- This adds the `flex ` completion style, as introduced in Emacs 27 .
158+ This adds the `cider ` completion style for CIDER buffers .
158159
159160Now, `company-mode` (and other completion packages like `corfu`) will
160161accept certain fuzziness when matching candidates against the
@@ -163,8 +164,6 @@ the possible completion candidates and `cji` will complete to
163164`clojure.java.io`. Different completion examples are shown
164165https://github.com/alexander-yakushev/compliment/wiki/Examples[here].
165166
166- NOTE: `cider-company-enable-fuzzy-completion` (now deprecated) should be used for Emacs < 27.
167-
168167=== Completion annotations
169168
170169Completion candidates will be annotated by default with an abbreviation
0 commit comments