Enable smartparens-strict-mode in Lisps
This commit is contained in:
parent
580628fc98
commit
78b6a8083d
1 changed files with 2 additions and 0 deletions
|
@ -40,12 +40,14 @@
|
|||
|
||||
;; a great lisp coding hook
|
||||
(defun prelude-lisp-coding-defaults ()
|
||||
(smartparens-strict-mode +1)
|
||||
(rainbow-delimiters-mode +1))
|
||||
|
||||
(setq prelude-lisp-coding-hook 'prelude-lisp-coding-defaults)
|
||||
|
||||
;; interactive modes don't need whitespace checks
|
||||
(defun prelude-interactive-lisp-coding-defaults ()
|
||||
(smartparens-strict-mode +1)
|
||||
(rainbow-delimiters-mode +1)
|
||||
(whitespace-mode -1))
|
||||
|
||||
|
|
Loading…
Reference in a new issue