Minor refactors

This commit is contained in:
Henrik Lissner 2020-08-08 03:06:26 -04:00
parent d8908a0c32
commit 8bbac4bfb3
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
4 changed files with 6 additions and 5 deletions

View file

@ -53,8 +53,8 @@ directives. By default, this only recognizes C directives.")
;; Slow this down from 0.02 to prevent blocking in large or folded buffers
;; like magit while incrementally highlighting matches.
(setq-hook! 'magit-mode-hook evil-ex-hl-update-delay 0.2)
(setq-hook! 'so-long-minor-mode-hook evil-ex-hl-update-delay 0.25)
(setq-hook! '(magit-mode-hook so-long-minor-mode-hook)
evil-ex-hl-update-delay 0.25)
:config
(evil-select-search-module 'evil-search-module 'evil-search)

View file

@ -10,6 +10,7 @@
- [[#plugins][Plugins]]
- [[#prerequisites][Prerequisites]]
- [[#configuration][Configuration]]
- [[#true-color-and-italic-support][True-color and italic support]]
- [[#troubleshooting][Troubleshooting]]
* Description

View file

@ -77,7 +77,7 @@
(get-buffer-window (or (+eval--ensure-in-repl-buffer)
t))))
(+eval/send-region-to-repl beg end)
(if-let (runner (cdr (assq major-mode +eval-runners)))
(if-let (runner (alist-get major-mode +eval-runners))
(funcall runner beg end)
(quickrun-region beg end)))))