Enable smartparens only for programming modes

This commit is contained in:
Bozhidar Batsov 2013-09-26 14:33:33 +03:00
parent 5b3c4e26e8
commit 5a01605564
2 changed files with 1 additions and 1 deletions

View file

@ -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)

View file

@ -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))