Compare commits

..

1 Commits

Author SHA1 Message Date
Taylor Skidmore ce9080842a set up smartparens during gerbil config 2020-11-25 17:58:49 -05:00
1 changed files with 7 additions and 6 deletions

View File

@ -66,12 +66,13 @@ Each entry is either:
(defun gerbil/init-gerbil-mode ()
(use-package gerbil-mode
:demand t
:defer t
:config
(with-eval-after-load 'smartparens
(add-to-list 'sp--lisp-modes 'gerbil-mode)
(when (fboundp 'sp-local-pair)
(sp-local-pair 'gerbil-mode "'" nil :actions nil)
(sp-local-pair 'gerbil-mode "`" nil :actions nil)))))
(progn
(with-eval-after-load 'smartparens
(add-to-list 'sp--lisp-modes 'gerbil-mode)
(when (fboundp 'sp-local-pair)
(sp-local-pair 'gerbil-mode "'" nil :actions nil)
(sp-local-pair 'gerbil-mode "`" nil :actions nil))))))
;;; packages.el ends here