Narrow down the purpose of init & post-init hooks
Essential hooks should be added to doom-init-hook. Non-essential and extra hooks should be added to doom-psot-init-hook.
This commit is contained in:
parent
c0680e6fa3
commit
25619908a2
5 changed files with 7 additions and 6 deletions
|
@ -161,8 +161,8 @@ extension, try to guess one."
|
|||
|
||||
;; Auto-close delimiters and blocks as you type
|
||||
(def-package! smartparens
|
||||
:hook (doom-init . smartparens-global-mode)
|
||||
:config
|
||||
(smartparens-global-mode +1)
|
||||
(require 'smartparens-config)
|
||||
|
||||
(setq sp-autowrap-region nil ; let evil-surround handle this
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue