feat: globally enable rainbow-mode

This commit is contained in:
Muhammad Nauman Raza 2023-07-01 18:42:53 +01:00
parent ec1373dd8d
commit d34c7cd946
No known key found for this signature in database
GPG key ID: 4FFEEB78B8A620C7

View file

@ -88,9 +88,12 @@
(load-theme 'hazakura t)
;; rainbow-mode - Colourful colour codes!
(use-package rainbow-mode
:hook
(prog-mode . rainbow-mode))
(use-package rainbow-mode)
;; Enable rainbow-mode globally
(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
(use-package general