about summary refs log tree commit diff stats
path: root/.emacs.d/lisp/init-smartparens.el
diff options
context:
space:
mode:
Diffstat (limited to '.emacs.d/lisp/init-smartparens.el')
-rw-r--r--.emacs.d/lisp/init-smartparens.el12
1 files changed, 6 insertions, 6 deletions
diff --git a/.emacs.d/lisp/init-smartparens.el b/.emacs.d/lisp/init-smartparens.el
index 0f96b64..2f2874d 100644
--- a/.emacs.d/lisp/init-smartparens.el
+++ b/.emacs.d/lisp/init-smartparens.el
@@ -16,12 +16,12 @@
   (sp-autoskip-closing-pair 'always)
   (sp-hybrid-kill-entire-symbol t)
   (sp-hybrid-kill-excessive-whitespace nil)
-  :hook (after-init . (lambda ()
-                        (smartparens-global-strict-mode)
-                        (show-smartparens-global-mode)
-                        (setq sp-paredit-bindings (delete '("M-?" . sp-convolute-sexp) sp-paredit-bindings))
-                        (require 'smartparens-config)
-                        (sp-use-paredit-bindings)))
+  :hook (elpaca-after-init . (lambda ()
+                               (smartparens-global-strict-mode)
+                               (show-smartparens-global-mode)
+                               (setq sp-paredit-bindings (delete '("M-?" . sp-convolute-sexp) sp-paredit-bindings))
+                               (require 'smartparens-config)
+                               (sp-use-paredit-bindings)))
   :config
   (sp-pair "\"" "\"" :wrap "M-\"")
   ;; From https://github.com/bodil/emacs.d/blob/master/bodil/bodil-paredit.el