diff options
| author | Omar Antolín <omar.antolin@gmail.com> | 2021-01-20 09:08:35 -0600 |
|---|---|---|
| committer | Omar Antolín <omar.antolin@gmail.com> | 2021-01-20 09:08:35 -0600 |
| commit | ea752ba6e3ddf0490f7d3b8ec0f27e08344e0758 (patch) | |
| tree | c71ee042e045075b4d086d4600bea7445050ac21 /README.org | |
| parent | a22d894d39003abc385d40a3fa28156a596464ca (diff) | |
Revert "Add matching style and dispatcher per category overrides (fix #31)"
This reverts commit d1c0cbf87ba7d927ec64c161ec3aac65b9643b61.
Diffstat (limited to 'README.org')
| -rw-r--r-- | README.org | 25 |
1 files changed, 0 insertions, 25 deletions
@@ -157,16 +157,6 @@ The variable =orderless-matching-styles= can be set to a list of the desired matching styles to use. By default it enables the regexp and initialism styles. -If you want to use certain matching styles only for completion of -certain categories, you can add an entry to the built-in variable -=completion-category-overrides=. For example, to use =orderless-flex= to -complete buffer names, you could use: - -#+begin_src emacs-lisp - (add-to-list 'completion-category-overrides - '(buffer (orderless-matching-styles orderless-flex))) -#+end_src - *** Style dispatchers For more fine-grained control on which matching styles to use for @@ -215,21 +205,6 @@ complete buffer names, you could use: without-if-bang)) #+end_src -As with matching styles, you can set which style dispatchers to use -for specific completion catgories using the -=completion-category-overrides= variable. For example, if you wanted to -match buffer using the =orderless-flex= matching style except for -components starting with =!=, which you want to treat as excluded terms, -you could use the following configuration (which relies on the above -=without-if-bang= dispatcher): - -#+begin_src emacs-lisp - (add-to-list 'completion-category-overrides - '(buffer (orderless-matching-styles orderless-flex) - (orderless-style-dispatchers without-if-bang))) -#+end_src - - ** Component separator regexp The pattern components are space-separated by default: this is |
