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 () (defun gerbil/init-gerbil-mode ()
(use-package gerbil-mode (use-package gerbil-mode
:demand t :defer t
:config :config
(with-eval-after-load 'smartparens (progn
(add-to-list 'sp--lisp-modes 'gerbil-mode) (with-eval-after-load 'smartparens
(when (fboundp 'sp-local-pair) (add-to-list 'sp--lisp-modes 'gerbil-mode)
(sp-local-pair 'gerbil-mode "'" nil :actions nil) (when (fboundp 'sp-local-pair)
(sp-local-pair 'gerbil-mode "`" nil :actions nil))))) (sp-local-pair 'gerbil-mode "'" nil :actions nil)
(sp-local-pair 'gerbil-mode "`" nil :actions nil))))))
;;; packages.el ends here ;;; packages.el ends here