use paren-face instead of rainbow-delimiters
This commit is contained in:
parent
c3dbe74787
commit
a41dce47d6
6
init.el
6
init.el
@ -358,7 +358,7 @@ Argument FRAMES has the same meaning as for `set-frame-font'"
|
|||||||
:ensure nil
|
:ensure nil
|
||||||
:defer)
|
:defer)
|
||||||
|
|
||||||
(use-package rainbow-delimiters
|
(use-package paren-face
|
||||||
:ensure nil
|
:ensure nil
|
||||||
:defer)
|
:defer)
|
||||||
|
|
||||||
@ -366,13 +366,13 @@ Argument FRAMES has the same meaning as for `set-frame-font'"
|
|||||||
(set (make-local-variable 'lisp-indent-function) 'lisp-indent-function)
|
(set (make-local-variable 'lisp-indent-function) 'lisp-indent-function)
|
||||||
(paredit-mode 1)
|
(paredit-mode 1)
|
||||||
(show-paren-mode 1)
|
(show-paren-mode 1)
|
||||||
(rainbow-delimiters-mode 1))
|
(paren-face-mode))
|
||||||
|
|
||||||
(defun my-lisp-mode-hook-fn ()
|
(defun my-lisp-mode-hook-fn ()
|
||||||
(set (make-local-variable 'lisp-indent-function) 'common-lisp-indent-function)
|
(set (make-local-variable 'lisp-indent-function) 'common-lisp-indent-function)
|
||||||
(paredit-mode 1)
|
(paredit-mode 1)
|
||||||
(show-paren-mode 1)
|
(show-paren-mode 1)
|
||||||
(rainbow-delimiters-mode 1))
|
(paren-face-mode))
|
||||||
|
|
||||||
(add-hook 'emacs-lisp-mode-hook 'my-emacs-lisp-mode-hook-fn)
|
(add-hook 'emacs-lisp-mode-hook 'my-emacs-lisp-mode-hook-fn)
|
||||||
(add-hook 'lisp-mode-hook 'my-lisp-mode-hook-fn)
|
(add-hook 'lisp-mode-hook 'my-lisp-mode-hook-fn)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user