diff options
| author | Daniel Mendler <mail@daniel-mendler.de> | 2024-03-26 08:46:40 +0100 |
|---|---|---|
| committer | Daniel Mendler <mail@daniel-mendler.de> | 2024-03-26 08:46:40 +0100 |
| commit | 2832886b5987a5b078677f5b187cdc9d8ae6fcd1 (patch) | |
| tree | 2c31ebeb12229b307fbad2a262c3e3669ba7a797 /README.org | |
| parent | 70d435252b4483e18484551dcc675276ba4a1763 (diff) | |
README: Simplify
Diffstat (limited to 'README.org')
| -rw-r--r-- | README.org | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -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 |
