summary refs log tree commit diff stats
path: root/init.el
diff options
context:
space:
mode:
authorCase Duckworth2021-08-30 22:18:13 -0500
committerCase Duckworth2021-08-30 22:18:20 -0500
commitd718b1f106d721ea393fd4b2af1ef2f08dd548f6 (patch)
tree61325af14a614beeb2384655ed9a97c90ff8baef /init.el
parentAdd ace-link-addr to circe (diff)
downloademacs-d718b1f106d721ea393fd4b2af1ef2f08dd548f6.tar.gz
emacs-d718b1f106d721ea393fd4b2af1ef2f08dd548f6.zip
Add `affe'
Diffstat (limited to 'init.el')
-rw-r--r--init.el9
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))