|
|
@ -2,11 +2,11 @@ |
|
|
|
|
|
|
|
|
|
|
|
;;; Code: |
|
|
|
;;; Code: |
|
|
|
;; Easier to identify identifiers |
|
|
|
;; Easier to identify identifiers |
|
|
|
;; The init add-hook seems to be the only way this works. |
|
|
|
(use-package color-identifiers-mode |
|
|
|
;; :hook does not work with rainbow identifiers for some reason. |
|
|
|
|
|
|
|
(use-package rainbow-identifiers |
|
|
|
|
|
|
|
:ensure t |
|
|
|
: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. |
|
|
|
;; Flycheck is enabled globally. |
|
|
|
(use-package flycheck |
|
|
|
(use-package flycheck |
|
|
|