diff --git a/elisp/modes/default-modes.el b/elisp/modes/default-modes.el index 9cd7035..b20b893 100644 --- a/elisp/modes/default-modes.el +++ b/elisp/modes/default-modes.el @@ -2,11 +2,11 @@ ;;; Code: ;; Easier to identify identifiers -;; The init add-hook seems to be the only way this works. -;; :hook does not work with rainbow identifiers for some reason. -(use-package rainbow-identifiers +(use-package color-identifiers-mode :ensure t - :init (add-hook 'prog-mode-hook 'rainbow-identifiers-mode)) + :init (add-hook 'after-init-hook 'global-color-identifiers-mode) + :config + (setq color-identifiers:recoloring-delay 1)) ;; Flycheck is enabled globally. (use-package flycheck