diff options
author | Alan Pearce | 2024-04-28 18:02:08 +0200 |
---|---|---|
committer | Alan Pearce | 2024-04-28 18:02:08 +0200 |
commit | d6ceae3a00cff6e823fd99b433f01660c5784ce6 (patch) | |
tree | 9ffc2ea301717c64d8c7677b9d451bd6779b5a8b | |
parent | 638d2f56173b6ffd6faad6f575546d61b4412aef (diff) | |
download | nixfiles-d6ceae3a00cff6e823fd99b433f01660c5784ce6.tar.lz nixfiles-d6ceae3a00cff6e823fd99b433f01660c5784ce6.tar.zst nixfiles-d6ceae3a00cff6e823fd99b433f01660c5784ce6.zip |
emacs: tweak completion candidate matching
-rw-r--r-- | user/emacs/init.el | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/user/emacs/init.el b/user/emacs/init.el index b47e93ca..2cdc8dd0 100644 --- a/user/emacs/init.el +++ b/user/emacs/init.el @@ -249,7 +249,10 @@ With two prefix arguments, write out the day and month name." (use-package orderless :config (progn - (add-to-list 'completion-styles 'orderless))) + (add-to-list 'completion-styles 'orderless) + (setq orderless-matching-styles '(orderless-literal-prefix + orderless-prefixes + orderless-regexp)))) (use-package consult :general ([remap isearch-forward] #'consult-line |