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:
parent
8de7a6e53d
commit
ca97300f84
1 changed files with 6 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue