diff options
Diffstat (limited to 'init.el')
-rw-r--r-- | init.el | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/init.el b/init.el index 1948783..acdea0c 100644 --- a/init.el +++ b/init.el | |||
@@ -1044,6 +1044,15 @@ like a dumbass." | |||
1044 | (apheleia--get-formatter-command))) | 1044 | (apheleia--get-formatter-command))) |
1045 | (indent-region (point-min) (point-max)))))) | 1045 | (indent-region (point-min) (point-max)))))) |
1046 | 1046 | ||
1047 | (setup (:straight-if affe | ||
1048 | (executable-find "rg")) | ||
1049 | ;; Keys are bound in `acdw/sensible-grep' and `acdw/sensible-find' | ||
1050 | (defun affe-orderless-regexp-compiler (input _type) | ||
1051 | (setq input (orderless-pattern-compiler input)) | ||
1052 | (cons input (lambda (str) (orderless--highlight input str)))) | ||
1053 | |||
1054 | (:option affe-regexp-compiler #'affe-orderless-regexp-compiler)) | ||
1055 | |||
1047 | (setup (:straight async) | 1056 | (setup (:straight async) |
1048 | (autoload 'dired-async-mode "dired-async.el" nil t) | 1057 | (autoload 'dired-async-mode "dired-async.el" nil t) |
1049 | (dired-async-mode +1)) | 1058 | (dired-async-mode +1)) |