Compare commits

..

1 Commits

Author SHA1 Message Date
Taylor Skidmore a89f5191e5 set up smartparens during gerbil config 2020-11-25 20:55:32 -05:00
1 changed files with 6 additions and 7 deletions

View File

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