diff options
Diffstat (limited to 'init.el')
-rw-r--r-- | init.el | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/init.el b/init.el index b046ffa..19513ea 100644 --- a/init.el +++ b/init.el | |||
@@ -567,6 +567,16 @@ | |||
567 | [remap isearch-query-replace] #'anzu-isearch-query-replace | 567 | [remap isearch-query-replace] #'anzu-isearch-query-replace |
568 | [remap isearch-query-replace-regexp] #'anzu-isearch-query-replace-regexp)) | 568 | [remap isearch-query-replace-regexp] #'anzu-isearch-query-replace-regexp)) |
569 | 569 | ||
570 | (setup (:straight-when (apheleia | ||
571 | :host github :repo "raxod502/apheleia") | ||
572 | (executable-find "diff")) | ||
573 | (:require apheleia | ||
574 | +apheleia) | ||
575 | (setf (alist-get 'indent-region apheleia-formatters) #'+apheleia-indent-region | ||
576 | (alist-get 'emacs-lisp-mode apheleia-mode-alist) 'indent-region | ||
577 | (alist-get 'lisp-interaction-mode apheleia-mode-alist) 'indent-region) | ||
578 | (apheleia-global-mode +1)) | ||
579 | |||
570 | (setup (:straight avy) | 580 | (setup (:straight avy) |
571 | (:require avy +avy) | 581 | (:require avy +avy) |
572 | (:+key "M-j" #'avy-goto-char-timer) | 582 | (:+key "M-j" #'avy-goto-char-timer) |