feat: globally enable rainbow-mode
This commit is contained in:
parent
ec1373dd8d
commit
d34c7cd946
|
@ -88,9 +88,12 @@
|
||||||
(load-theme 'hazakura t)
|
(load-theme 'hazakura t)
|
||||||
|
|
||||||
;; rainbow-mode - Colourful colour codes!
|
;; rainbow-mode - Colourful colour codes!
|
||||||
(use-package rainbow-mode
|
(use-package rainbow-mode)
|
||||||
:hook
|
;; Enable rainbow-mode globally
|
||||||
(prog-mode . rainbow-mode))
|
(with-eval-after-load 'rainbow-mode
|
||||||
|
(define-globalized-minor-mode global-rainbow-mode rainbow-mode
|
||||||
|
(lambda () (rainbow-mode 1)))
|
||||||
|
(global-rainbow-mode 1))
|
||||||
|
|
||||||
;; general - More convenient key definitions for Emacs
|
;; general - More convenient key definitions for Emacs
|
||||||
(use-package general
|
(use-package general
|
||||||
|
|
Reference in a new issue