Enable evil-cleverparens in prog-mode (not just lisp-mode)
This commit is contained in:
parent
06ec526b97
commit
af9fc9efdf
2
init.el
2
init.el
@ -321,7 +321,7 @@ directory. Otherwise, run `find-file' on that file."
|
|||||||
("C-c C-+" . evil-numbers/inc-at-pt-incremental)
|
("C-c C-+" . evil-numbers/inc-at-pt-incremental)
|
||||||
("C-c C--" . evil-numbers/dec-at-pt-incremental)))
|
("C-c C--" . evil-numbers/dec-at-pt-incremental)))
|
||||||
(use-package evil-cleverparens
|
(use-package evil-cleverparens
|
||||||
:hook (((lisp-mode emacs-lisp-mode) . evil-cleverparens-mode)
|
:hook ((prog-mode . evil-cleverparens-mode)
|
||||||
(evil-cleverparens-mode . paredit-mode))
|
(evil-cleverparens-mode . paredit-mode))
|
||||||
:bind (:map paredit-mode-map
|
:bind (:map paredit-mode-map
|
||||||
("C-<return>" . paredit-RET)
|
("C-<return>" . paredit-RET)
|
||||||
|
Loading…
Reference in New Issue
Block a user