Replace show-parens-mode with show-smartparens-mode

This commit is contained in:
Bozhidar Batsov 2013-10-04 12:43:32 +03:00
parent e67e9e6871
commit 8bd7843a02

View file

@ -108,6 +108,8 @@ Will only occur if prelude-whitespace is also enabled."
(setq sp-hybrid-kill-entire-symbol nil)
(sp-use-paredit-bindings)
(show-smartparens-global-mode +1)
;; diminish keeps the modeline tidy
(require 'diminish)
@ -173,11 +175,6 @@ The body of the advice is in BODY."
(add-hook 'mouse-leave-buffer-hook 'prelude-auto-save-command)
;; show-paren-mode: subtle highlighting of matching parens (global-mode)
(require 'paren)
(setq show-paren-style 'parenthesis)
(show-paren-mode +1)
;; highlight the current line
(global-hl-line-mode +1)