about summary refs log tree commit diff stats
path: root/.emacs.d/lisp/init-smartparens.el
diff options
context:
space:
mode:
authorDavid Morgan <djm_uk@protonmail.com>2023-05-19 12:09:57 +0100
committerDavid Morgan <djm_uk@protonmail.com>2023-05-19 12:09:57 +0100
commitf4fe800c75ffbd684ba30814c1810ed5fdab6076 (patch)
treee937847094feb00f91090c230368c107981d2e3a /.emacs.d/lisp/init-smartparens.el
parente5f4051ed123bacccbdcb84f49b6659070ac5de8 (diff)
downloaddotfiles-f4fe800c75ffbd684ba30814c1810ed5fdab6076.tar.gz
straight.el -> elpaca
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