Skip to content

Commit

Permalink
editor/evil: remove redundant put & add comment
Browse files Browse the repository at this point in the history
evil-define-key* now declares its own indentation, so I don't have to.
  • Loading branch information
hlissner committed May 29, 2021
1 parent d1bed29 commit d32698b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/editor/evil/config.el
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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)


Expand Down

0 comments on commit d32698b

Please sign in to comment.