summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Mendler <mail@daniel-mendler.de>2024-03-26 08:46:40 +0100
committerDaniel Mendler <mail@daniel-mendler.de>2024-03-26 08:46:40 +0100
commit2832886b5987a5b078677f5b187cdc9d8ae6fcd1 (patch)
tree2c31ebeb12229b307fbad2a262c3e3669ba7a797
parent70d435252b4483e18484551dcc675276ba4a1763 (diff)
README: Simplify
-rw-r--r--README.org9
1 files changed, 4 insertions, 5 deletions
diff --git a/README.org b/README.org
index 19013f9..dda27cf 100644
--- a/README.org
+++ b/README.org
@@ -491,16 +491,15 @@ If you use the ~orderless~ completion style, then expansion works differently by
default. Orderless only expands to single matching candidates, since due to its
multi-component input, there does not necessarily exist an expansion to a common
candidate prefix. However it is possible to define a separate ~tab~ completion
-style and register it as follows for Corfu. The ~tab~ completion style will only
-take over ~TAB~ completion (if prefix expansion is possible), but besides that
-won't affect Orderless candidate filtering.
+style. The ~tab~ completion style will only take over ~TAB~ completion (if prefix
+expansion is possible), but besides that won't affect Orderless candidate
+filtering.
#+begin_src emacs-lisp
(add-to-list 'completion-styles-alist
'(tab completion-basic-try-completion ignore
"Completion style which provides TAB completion only."))
-(add-hook 'corfu-mode-hook
- (lambda () (setq-local completion-styles '(tab orderless basic))))
+(setq completion-styles '(tab orderless basic)))
#+end_src
** Transfer completion to the minibuffer