diff options
| author | Mountain Man <43313373+MountainMan1312@users.noreply.github.com> | 2023-04-30 03:52:05 -0400 |
|---|---|---|
| committer | Mountain Man <43313373+MountainMan1312@users.noreply.github.com> | 2023-04-30 03:52:05 -0400 |
| commit | cd8d5b3395e7a211d56d4b7f79619ac4dc879b18 (patch) | |
| tree | 695741b386caad202d69ba4fa81ddb26a64f9d96 | |
| parent | Use `marginalia` minibuffer hints (diff) | |
| download | mmosmacs-cd8d5b3395e7a211d56d4b7f79619ac4dc879b18.tar.gz mmosmacs-cd8d5b3395e7a211d56d4b7f79619ac4dc879b18.tar.bz2 mmosmacs-cd8d5b3395e7a211d56d4b7f79619ac4dc879b18.zip | |
Use `orderless` completion suggestions
| -rw-r--r-- | init.el | 15 |
1 files changed, 15 insertions, 0 deletions
| @@ -169,6 +169,21 @@ | |||
| 169 | :init (marginalia-mode)) | 169 | :init (marginalia-mode)) |
| 170 | 170 | ||
| 171 | 171 | ||
| 172 | ;; --------------------------------- | ||
| 173 | ;; Orderless completion | ||
| 174 | ;; -------------------- | ||
| 175 | ;; A different ordering method for | ||
| 176 | ;; completion suggestions | ||
| 177 | ;; --------------------------------- | ||
| 178 | |||
| 179 | (use-package orderless | ||
| 180 | :straight t | ||
| 181 | :config | ||
| 182 | (setq completion-styles '(orderless basic) | ||
| 183 | completion-category-defaults nil | ||
| 184 | completion-category-overrides '((file (styles partial-completion))))) | ||
| 185 | |||
| 186 | |||
| 172 | 187 | ||
| 173 | 188 | ||
| 174 | ;; --------------------------------------------------------------------- | 189 | ;; --------------------------------------------------------------------- |