about summary refs log tree commit diff stats
path: root/.emacs.d/lisp
diff options
context:
space:
mode:
authorDavid Morgan <djm_uk@protonmail.com>2022-11-02 21:16:24 +0000
committerDavid Morgan <djm_uk@protonmail.com>2022-11-02 21:16:24 +0000
commitd0fd7364a70a4ec6ded9164f88509562db3e54a2 (patch)
tree4d628ac41aef1b369ee1f1e78a43546c2b7f681a /.emacs.d/lisp
parent97c6e3ed4e3d5398d8b63ab04e87206994f12821 (diff)
downloaddotfiles-d0fd7364a70a4ec6ded9164f88509562db3e54a2.tar.gz
Fix smartparens/paredit config
Diffstat (limited to '.emacs.d/lisp')
-rw-r--r--.emacs.d/lisp/init-smartparens.el8
1 files changed, 6 insertions, 2 deletions
diff --git a/.emacs.d/lisp/init-smartparens.el b/.emacs.d/lisp/init-smartparens.el
index b80d184..1366045 100644
--- a/.emacs.d/lisp/init-smartparens.el
+++ b/.emacs.d/lisp/init-smartparens.el
@@ -3,7 +3,11 @@
 ;;; Code:
 
 (use-package paredit
-  :commands (paredit-semicolon paredit-comment-dwim))
+  :commands (paredit-semicolon
+             paredit-comment-dwim
+             paredit-close-round
+             paredit-close-square
+             paredit-close-curly))
 
 (use-package smartparens
   :diminish
@@ -54,7 +58,7 @@
   :bind (:map smartparens-mode-map
               ("C-M-?" . sp-convolute-sexp)
               ([remap mark-sexp] . sp-mark-sexp)
-              ("M-[" . paredit-smart-wrap-square)
+              ("M-[" . sp-wrap-square)
               ("C-c M-{" . sp-wrap-curly)
               ("M-W" . sp-copy-sexp)
               (")" . paredit-close-round)