diff options
| -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 | ;; --------------------------------------------------------------------- |