Enable smartparens only for programming modes
This commit is contained in:
parent
5b3c4e26e8
commit
5a01605564
2 changed files with 1 additions and 1 deletions
|
@ -107,7 +107,6 @@ Will only occur if prelude-whitespace is also enabled."
|
|||
(setq sp-autoskip-closing-pair 'always)
|
||||
(setq sp-hybrid-kill-entire-symbol nil)
|
||||
(sp-use-paredit-bindings)
|
||||
(smartparens-global-mode +1)
|
||||
|
||||
;; diminish keeps the modeline tidy
|
||||
(require 'diminish)
|
||||
|
|
|
@ -120,6 +120,7 @@ This functions should be added to the hooks of major modes for programming."
|
|||
(flyspell-prog-mode))
|
||||
(when prelude-guru
|
||||
(guru-mode +1))
|
||||
(smartparens-mode +1)
|
||||
(prelude-enable-whitespace)
|
||||
(prelude-local-comment-auto-fill)
|
||||
(prelude-font-lock-comment-annotations))
|
||||
|
|
Loading…
Reference in a new issue