Replace show-parens-mode with show-smartparens-mode
This commit is contained in:
parent
e67e9e6871
commit
8bd7843a02
1 changed files with 2 additions and 5 deletions
|
@ -108,6 +108,8 @@ Will only occur if prelude-whitespace is also enabled."
|
||||||
(setq sp-hybrid-kill-entire-symbol nil)
|
(setq sp-hybrid-kill-entire-symbol nil)
|
||||||
(sp-use-paredit-bindings)
|
(sp-use-paredit-bindings)
|
||||||
|
|
||||||
|
(show-smartparens-global-mode +1)
|
||||||
|
|
||||||
;; diminish keeps the modeline tidy
|
;; diminish keeps the modeline tidy
|
||||||
(require 'diminish)
|
(require 'diminish)
|
||||||
|
|
||||||
|
@ -173,11 +175,6 @@ The body of the advice is in BODY."
|
||||||
|
|
||||||
(add-hook 'mouse-leave-buffer-hook 'prelude-auto-save-command)
|
(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
|
;; highlight the current line
|
||||||
(global-hl-line-mode +1)
|
(global-hl-line-mode +1)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue