From 477b8c98464b975c58696344e215c76156fbb3dd Mon Sep 17 00:00:00 2001 From: Uko Kokņevičs Date: Thu, 17 Jul 2025 00:54:20 +0300 Subject: emacs: replace rainbow-mode with colorful-mode --- emacs/.config/emacs/arkta/arkta-cosmetic.el | 14 +++++++------- emacs/.config/emacs/arkta/arkta-progmodes.el | 2 ++ emacs/.config/emacs/shared/elpaca-lock.el | 14 +++++++------- 3 files changed, 16 insertions(+), 14 deletions(-) (limited to 'emacs') diff --git a/emacs/.config/emacs/arkta/arkta-cosmetic.el b/emacs/.config/emacs/arkta/arkta-cosmetic.el index 96e5498..72100a6 100644 --- a/emacs/.config/emacs/arkta/arkta-cosmetic.el +++ b/emacs/.config/emacs/arkta/arkta-cosmetic.el @@ -32,6 +32,13 @@ :config (centaur-tabs-mode +1)) +(use-package colorful-mode + :ensure t + :custom + (colorful-use-prefix t) + :config + (global-colorful-mode t)) + (use-package display-fill-column-indicator :ensure nil :demand t @@ -116,13 +123,6 @@ :ensure t :hook (prog-mode . rainbow-delimiters-mode)) -(use-package rainbow-mode - :ensure t - :init - (defun arkta/enable-rainbow () - (rainbow-mode +1)) - :hook (prog-mode . arkta/enable-rainbow)) - (use-package scroll-bar :ensure nil :defer t diff --git a/emacs/.config/emacs/arkta/arkta-progmodes.el b/emacs/.config/emacs/arkta/arkta-progmodes.el index a85d0c0..52cc0a0 100644 --- a/emacs/.config/emacs/arkta/arkta-progmodes.el +++ b/emacs/.config/emacs/arkta/arkta-progmodes.el @@ -61,6 +61,8 @@ (use-package css-mode :after treesit :ensure nil + :custom + (css-fontify-colors nil) :mode "\\.css\\'") (use-package dart-mode diff --git a/emacs/.config/emacs/shared/elpaca-lock.el b/emacs/.config/emacs/shared/elpaca-lock.el index 45756eb..ecb1565 100644 --- a/emacs/.config/emacs/shared/elpaca-lock.el +++ b/emacs/.config/emacs/shared/elpaca-lock.el @@ -38,6 +38,13 @@ ("*.el" "*.el.in" "dir" "*.info" "*.texi" "*.texinfo" "doc/dir" "doc/*.info" "doc/*.texi" "doc/*.texinfo" "lisp/*.el" "docs/dir" "docs/*.info" "docs/*.texi" "docs/*.texinfo" (:exclude ".dir-locals.el" "test.el" "tests.el" "*-test.el" "*-tests.el" "LICENSE" "README*" "*-pkg.el")) :source "MELPA" :protocol https :inherit t :depth treeless :ref "05a2b048fd4e5c90aa971479cb9e71cf9aeba2bf")) + (colorful-mode :source "elpaca-menu-lock-file" :recipe + (:package "colorful-mode" :repo + ("https://github.com/DevelopmentCool2449/colorful-mode" . "colorful-mode") + :files + ("*" + (:exclude ".git")) + :source "GNU ELPA" :protocol https :inherit t :depth treeless :ref "7c2f58d606120b6432806f53322c6b624c6438dd")) (company :source "elpaca-menu-lock-file" :recipe (:package "company" :fetcher github :repo "company-mode/company-mode" :files (:defaults "icons" @@ -280,13 +287,6 @@ ("*.el" "*.el.in" "dir" "*.info" "*.texi" "*.texinfo" "doc/dir" "doc/*.info" "doc/*.texi" "doc/*.texinfo" "lisp/*.el" "docs/dir" "docs/*.info" "docs/*.texi" "docs/*.texinfo" (:exclude ".dir-locals.el" "test.el" "tests.el" "*-test.el" "*-tests.el" "LICENSE" "README*" "*-pkg.el")) :source "MELPA" :protocol https :inherit t :depth treeless :ref "f40ece58df8b2f0fb6c8576b527755a552a5e763")) - (rainbow-mode :source "elpaca-menu-lock-file" :recipe - (:package "rainbow-mode" :repo - ("https://git.savannah.gnu.org/git/emacs/elpa.git" . "rainbow-mode") - :branch "externals/rainbow-mode" :files - ("*" - (:exclude ".git")) - :source "GNU ELPA" :protocol https :inherit t :depth treeless :ref "f7db3b5919f70420a91eb199f8663468de3033f3")) (reformatter :source "elpaca-menu-lock-file" :recipe (:package "reformatter" :repo "purcell/emacs-reformatter" :fetcher github :files ("*.el" "*.el.in" "dir" "*.info" "*.texi" "*.texinfo" "doc/dir" "doc/*.info" "doc/*.texi" "doc/*.texinfo" "lisp/*.el" "docs/dir" "docs/*.info" "docs/*.texi" "docs/*.texinfo" -- cgit v1.2.3