mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Load sly-contribs immediately, after sly loads
To fix a load order issue with some sly plugins (like sly-macrostep) not loading early enough, thus requiring the buffer be reloaded or reverted to activate them.
This commit is contained in:
@ -23,6 +23,12 @@
|
||||
:definition #'sly-edit-definition
|
||||
:documentation #'sly-describe-symbol))
|
||||
|
||||
;; HACK Ensures that sly's contrib modules are loaded as soon as possible, but
|
||||
;; also as late as possible, so users have an opportunity to override
|
||||
;; `sly-contrib' in an `after!' block.
|
||||
(add-hook! 'doom-after-init-modules-hook
|
||||
(after! sly (sly-setup)))
|
||||
|
||||
:config
|
||||
(setq sly-mrepl-history-file-name (concat doom-cache-dir "sly-mrepl-history")
|
||||
sly-kill-without-query-p t
|
||||
|
Reference in New Issue
Block a user