Enable smartparens-strict-mode in Lisps

This commit is contained in:
Bozhidar Batsov 2013-09-18 12:17:51 +03:00
parent 580628fc98
commit 78b6a8083d

View file

@ -40,12 +40,14 @@
;; a great lisp coding hook ;; a great lisp coding hook
(defun prelude-lisp-coding-defaults () (defun prelude-lisp-coding-defaults ()
(smartparens-strict-mode +1)
(rainbow-delimiters-mode +1)) (rainbow-delimiters-mode +1))
(setq prelude-lisp-coding-hook 'prelude-lisp-coding-defaults) (setq prelude-lisp-coding-hook 'prelude-lisp-coding-defaults)
;; interactive modes don't need whitespace checks ;; interactive modes don't need whitespace checks
(defun prelude-interactive-lisp-coding-defaults () (defun prelude-interactive-lisp-coding-defaults ()
(smartparens-strict-mode +1)
(rainbow-delimiters-mode +1) (rainbow-delimiters-mode +1)
(whitespace-mode -1)) (whitespace-mode -1))