From d32698b3266e56a78fac9250dcdec1a5f5524635 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sat, 29 May 2021 12:48:44 -0400 Subject: [PATCH] editor/evil: remove redundant put & add comment evil-define-key* now declares its own indentation, so I don't have to. --- modules/editor/evil/config.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/editor/evil/config.el b/modules/editor/evil/config.el index be85bb274fd..f9dcd1fa1d4 100644 --- a/modules/editor/evil/config.el +++ b/modules/editor/evil/config.el @@ -64,8 +64,6 @@ directives. By default, this only recognizes C directives.") :config (evil-select-search-module 'evil-search-module 'evil-search) - (put 'evil-define-key* 'lisp-indent-function 'defun) - ;; stop copying each visual state move to the clipboard: ;; https://github.com/emacs-evil/evil/issues/336 ;; grokked from: @@ -94,6 +92,8 @@ directives. By default, this only recognizes C directives.") (defun +evil-emacs-cursor-fn () (evil-set-cursor-color (get 'cursor 'evil-emacs-color))) + ;; Ensure `evil-shift-width' always matches `tab-width'; evil does not police + ;; this itself, so we must. (setq-hook! 'after-change-major-mode-hook evil-shift-width tab-width)